drm/qxl: use QXL_GEM_DOMAIN_SURFACE for shadow bo.
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 18 Jan 2019 12:20:05 +0000 (13:20 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 28 Jan 2019 13:24:52 +0000 (14:24 +0100)
commit247156d7e2fadb0af9bb8e71db5a86c0e9204f7d
tree399cd25136a4f84f41cb3b80317a769f0dbe151b
parent6957c6867baa104029904a2cf354227a182ca735
drm/qxl: use QXL_GEM_DOMAIN_SURFACE for shadow bo.

The shadow bo is used as qxl surface, so allocate it 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-9-kraxel@redhat.com
drivers/gpu/drm/qxl/qxl_display.c