]> git.baikalelectronics.ru Git - kernel.git/commit
drm/qxl: use QXL_GEM_DOMAIN_SURFACE for dumb gem objects
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 18 Jan 2019 12:20:06 +0000 (13:20 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 28 Jan 2019 13:24:53 +0000 (14:24 +0100)
commita1990b0d57c049705a7a90c2872e2213de35b674
tree6d7f124b3fbad5580f5bdb28c623975a31d90eda
parent7c57db29c8b3f8f20293d9e5801ff2b4a01e8ab9
drm/qxl: use QXL_GEM_DOMAIN_SURFACE for dumb gem objects

dumb buffers are used as qxl surfaces, so allocate them as
QXL_GEM_DOMAIN_SURFACE.  Should usually be allocated in
PRIV ttm domain then, so this reduces VRAM memory pressure.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Noralf Trønnes <noralf@tronnes.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20190118122020.27596-10-kraxel@redhat.com
drivers/gpu/drm/qxl/qxl_dumb.c