drm/qxl: allocate dumb buffers in ram
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 4 Feb 2021 14:57:11 +0000 (15:57 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 5 Feb 2021 08:02:40 +0000 (09:02 +0100)
commitf4a84e165e6d58606097dd07b5b78767a94b870c
tree15e2edcb76470c9809bb7cf6fd8e5a01db12ec79
parent5a838e5d5825c85556011478abde708251cc0776
drm/qxl: allocate dumb buffers in ram

dumb buffers are shadowed anyway, so there is no need to store them
in device memory.  Use QXL_GEM_DOMAIN_CPU (TTM_PL_SYSTEM) instead.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: http://patchwork.freedesktop.org/patch/msgid/20210204145712.1531203-11-kraxel@redhat.com
drivers/gpu/drm/qxl/qxl_dumb.c