]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Avoid ce->gem_context->i915
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 30 Jul 2019 16:34:41 +0000 (17:34 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 31 Jul 2019 06:43:42 +0000 (07:43 +0100)
commitccd35fd0f0a464bb083d1c341a811e40968bfa11
tree6e423cf0d48f18bc402bac05600ce23460c9412c
parent196118047a8b99ce7d3d4d386802fce21a02a87e
drm/i915: Avoid ce->gem_context->i915

My plan for the future is to have kernel contexts not to have a GEM
context backpointer (as they will not belong to any GEM context). In a
few places, we use ce->gem_context to simply obtain the i915 backpointer,
for which we can use ce->engine->i915 instead.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190730163441.16477-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/i915_gem_client_blt.c
drivers/gpu/drm/i915/gem/i915_gem_context.c
drivers/gpu/drm/i915/i915_perf.c