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)
commita1c9ca223c3df1b8993abedde777f5462165387c
treedf8042b163133be384a5cd3814dd38ce318e24d4
parent8ef7e3409ceccec713ca8de6608817fb57954024
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