]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Remove lrc default desc from GEM context
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 30 Jul 2019 13:30:26 +0000 (14:30 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 1 Aug 2019 16:37:02 +0000 (17:37 +0100)
commit68786b2387487d2050dd0a98514a4b2f58fc3b62
treedf8042b163133be384a5cd3814dd38ce318e24d4
parentdbe4845fc794f43f4686419d125650573e351155
drm/i915: Remove lrc default desc from GEM context

We only compute the lrc_descriptor() on pinning the context, i.e.
infrequently, so we do not benefit from storing the template as the
addressing mode is also fixed for the lifetime of the intel_context.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Prathap Kumar Valsan <prathap.kumar.valsan@intel.com>
Acked-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190730133035.1977-9-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/i915_gem_context.c
drivers/gpu/drm/i915/gem/i915_gem_context_types.h
drivers/gpu/drm/i915/gt/intel_lrc.c
drivers/gpu/drm/i915/gvt/scheduler.c