diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-06-25 14:01:10 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-06-25 20:17:22 +0100 |
commit | 0c91621cad492e362c37330e1a0985bcdda00fda (patch) | |
tree | 1401db8d083b3086c94247aa5cb8e06eeb21f94d /drivers/gpu/drm/i915/selftests | |
parent | 8e9c2f621893ae2cc57c34fa96ece011eebd94b7 (diff) | |
download | linux-0c91621cad492e362c37330e1a0985bcdda00fda.tar.gz linux-0c91621cad492e362c37330e1a0985bcdda00fda.tar.bz2 linux-0c91621cad492e362c37330e1a0985bcdda00fda.zip |
drm/i915/gt: Pass intel_gt to pm routines
Switch from passing the i915 container to newly named struct intel_gt.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190625130128.11009-2-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/selftests')
-rw-r--r-- | drivers/gpu/drm/i915/selftests/i915_gem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/selftests/i915_gem.c b/drivers/gpu/drm/i915/selftests/i915_gem.c index c6a01a6e87f1..ed0c17bf6613 100644 --- a/drivers/gpu/drm/i915/selftests/i915_gem.c +++ b/drivers/gpu/drm/i915/selftests/i915_gem.c @@ -115,7 +115,7 @@ static void pm_resume(struct drm_i915_private *i915) * that runtime-pm just works. */ with_intel_runtime_pm(&i915->runtime_pm, wakeref) { - intel_gt_sanitize(i915, false); + intel_gt_sanitize(&i915->gt, false); i915_gem_sanitize(i915); i915_gem_resume(i915); } |