drm/i915/gt: Pull restoration of GGTT fences underneath the GT
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 16 Mar 2020 11:38:44 +0000 (11:38 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 16 Mar 2020 20:28:28 +0000 (20:28 +0000)
commitdec9cf9ee8cb203d556bec3f650c480ba2a04735
treeccb798ee23f405798ebab2ec4b98ce85444a2cb6
parentf899f786d181e03f6ca29319bd90ba62231cb44b
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
drivers/gpu/drm/i915/gt/intel_ggtt.c
drivers/gpu/drm/i915/gt/intel_gt_pm.c
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/selftests/i915_gem.c