drm/i915: Pass intel_context to intel_context_pin_lock()
Chris Wilson authored
Move the intel_context_instance() to the caller so that we can decouple
ourselves from one context instance per engine.

v2: Rename pin_lock() to lock_pinned(), hopefully that is clearer.
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: default avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190426163336.15906-5-chris@chris-wilson.co.uk
6b736de5
Name Last commit Last update
..
Makefile drm/i915: Move GraphicsTechnology files under gt/
Makefile.header-test drm/i915: Move GraphicsTechnology files under gt/
intel_breadcrumbs.c drm/i915: Move GraphicsTechnology files under gt/
intel_context.c drm/i915: Pass intel_context to intel_context_pin_lock()
intel_context.h drm/i915: Pass intel_context to intel_context_pin_lock()
intel_context_types.h drm/i915: Introduce context->enter() and context->exit()
intel_engine.h drm/i915: Invert the GEM wakeref hierarchy
intel_engine_cs.c drm/i915: Export intel_context_instance()
intel_engine_pm.c drm/i915: Invert the GEM wakeref hierarchy
intel_engine_pm.h drm/i915: Invert the GEM wakeref hierarchy
intel_engine_types.h drm/i915: Invert the GEM wakeref hierarchy
intel_gpu_commands.h drm/i915: Move GraphicsTechnology files under gt/
intel_gt_pm.c drm/i915: Invert the GEM wakeref hierarchy
intel_gt_pm.h drm/i915: Invert the GEM wakeref hierarchy
intel_hangcheck.c drm/i915: Invert the GEM wakeref hierarchy
intel_lrc.c drm/i915: Invert the GEM wakeref hierarchy
intel_lrc.h drm/i915: Move GraphicsTechnology files under gt/
intel_lrc_reg.h drm/i915: Move GraphicsTechnology files under gt/
intel_mocs.c drm/i915: Move GraphicsTechnology files under gt/
intel_mocs.h drm/i915: Move GraphicsTechnology files under gt/
intel_reset.c drm/i915: Invert the GEM wakeref hierarchy
intel_reset.h drm/i915: Invert the GEM wakeref hierarchy
intel_ringbuffer.c drm/i915: Enable render context support for gen4 (Broadwater to Cantiga)
intel_sseu.c drm/i915: Move GraphicsTechnology files under gt/
intel_sseu.h drm/i915: Move GraphicsTechnology files under gt/
intel_workarounds.c drm/i915: Pass intel_context to i915_request_create()
intel_workarounds.h drm/i915: Move GraphicsTechnology files under gt/
intel_workarounds_types.h drm/i915: Move GraphicsTechnology files under gt/
mock_engine.c drm/i915: Export intel_context_instance()
mock_engine.h drm/i915: Move GraphicsTechnology files under gt/
selftest_engine_cs.c drm/i915: Move GraphicsTechnology files under gt/
selftest_hangcheck.c drm/i915: Invert the GEM wakeref hierarchy
selftest_lrc.c drm/i915: Move GraphicsTechnology files under gt/
selftest_workarounds.c drm/i915: Invert the GEM wakeref hierarchy