diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-04-26 17:33:32 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-04-26 18:32:05 +0100 |
commit | 6b736de5746a304692fc5f7f5fc46cd9c2e8bd29 (patch) | |
tree | ecc17c9f1d620b2dcc5b7ea296b0177b642a3370 /drivers/gpu/drm/i915/selftests | |
parent | 1b1ae40721ea2d90135b39b663b20c30339f94dc (diff) | |
download | linux-stable-6b736de5746a304692fc5f7f5fc46cd9c2e8bd29.tar.gz linux-stable-6b736de5746a304692fc5f7f5fc46cd9c2e8bd29.tar.bz2 linux-stable-6b736de5746a304692fc5f7f5fc46cd9c2e8bd29.zip |
drm/i915: Pass intel_context to intel_context_pin_lock()
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: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190426163336.15906-5-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/selftests')
-rw-r--r-- | drivers/gpu/drm/i915/selftests/i915_gem_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/selftests/i915_gem_context.c b/drivers/gpu/drm/i915/selftests/i915_gem_context.c index 8e2a94333559..214d1fd2f4dc 100644 --- a/drivers/gpu/drm/i915/selftests/i915_gem_context.c +++ b/drivers/gpu/drm/i915/selftests/i915_gem_context.c @@ -1017,7 +1017,7 @@ __sseu_test(struct drm_i915_private *i915, if (ret) return ret; - ret = __i915_gem_context_reconfigure_sseu(ce->gem_context, ce->engine, sseu); + ret = __intel_context_reconfigure_sseu(ce, sseu); if (ret) goto out_spin; |