drm/i915: allocate context from LMEM
authorMatthew Auld <matthew.auld@intel.com>
Wed, 27 Jan 2021 13:14:15 +0000 (13:14 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 Mar 2021 18:30:36 +0000 (19:30 +0100)
commitba485bc8edf1a29eaea8343102c0824f45d8252b
tree7cb5113dc67ec8373836913ebf77d6b7ee000f37
parent7c5cc941330df5a1868da6c8fb3710d804c11bc8
drm/i915: allocate context from LMEM

Prefer allocating the context from LMEM on dgfx.

Based on a patch from Michel Thierry.

v2: flatten the chain

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-6-matthew.auld@intel.com
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/gt/intel_lrc.c