]> git.baikalelectronics.ru Git - kernel.git/commit
drm/qxl: allow both PRIV and VRAM placement for QXL_GEM_DOMAIN_SURFACE
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 18 Jan 2019 12:20:04 +0000 (13:20 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 28 Jan 2019 13:24:52 +0000 (14:24 +0100)
commit91f9764fd9c8dfa89ab475e096a3555bfb99d11a
tree3323765fe53df2c531d4e2ec8e6d54c62ddbb54b
parentd0ec0b5130183e7cdf6eff675af4acc6b77782b0
drm/qxl: allow both PRIV and VRAM placement for QXL_GEM_DOMAIN_SURFACE

qxl surfaces (used for framebuffers and gem objects) can live in both
VRAM and PRIV ttm domains.  Update placement setup to include both.
Put PRIV first in the list so it is preferred, so VRAM will have more
room for objects which must be allocated there.

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-8-kraxel@redhat.com
drivers/gpu/drm/qxl/qxl_object.c