drm/i915: allocate cmd ring in lmem
authorMichel Thierry <michel.thierry@intel.com>
Wed, 27 Jan 2021 13:14:17 +0000 (13:14 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 Mar 2021 18:30:36 +0000 (19:30 +0100)
commitd712f4ce25d3935d6e124a84f7f8d640ab0da611
treeabe5a5ba12d6a37378fcb4f95256a8c1c80e11a1
parent772d5bdf2ba7ce390b685c0a5934cf524854ecbc
drm/i915: allocate cmd ring in lmem

Prefer allocating the cmd ring from LMEM on dgfx.

Signed-off-by: Michel Thierry <michel.thierry@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20210127131417.393872-8-matthew.auld@intel.com
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/gt/intel_ring.c