aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/selftests
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2020-03-16 11:38:44 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2020-03-16 20:28:28 +0000
commitdec9cf9ee8cb203d556bec3f650c480ba2a04735 (patch)
treeccb798ee23f405798ebab2ec4b98ce85444a2cb6 /drivers/gpu/drm/i915/selftests
parentdrm/i915: Move GGTT fence registers under gt/ (diff)
downloadlinux-dev-dec9cf9ee8cb203d556bec3f650c480ba2a04735.tar.xz
linux-dev-dec9cf9ee8cb203d556bec3f650c480ba2a04735.zip
drm/i915/gt: Pull restoration of GGTT fences underneath the GT
Make the GT responsible for restoring its fence when it wakes up from suspend. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200316113846.4974-2-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/selftests')
-rw-r--r--drivers/gpu/drm/i915/selftests/i915_gem.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/selftests/i915_gem.c b/drivers/gpu/drm/i915/selftests/i915_gem.c
index 7ea517a21e0b..88d400b9df88 100644
--- a/drivers/gpu/drm/i915/selftests/i915_gem.c
+++ b/drivers/gpu/drm/i915/selftests/i915_gem.c
@@ -125,8 +125,6 @@ static void pm_resume(struct drm_i915_private *i915)
*/
with_intel_runtime_pm(&i915->runtime_pm, wakeref) {
i915_ggtt_resume(&i915->ggtt);
- intel_ggtt_restore_fences(&i915->ggtt);
-
i915_gem_resume(i915);
}
}