drm/i915/gt: Reapply ppgtt enabling after engine resets
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 14 Jan 2021 10:14:51 +0000 (10:14 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 14 Jan 2021 12:07:28 +0000 (12:07 +0000)
commit3db9353ea32c7f7816de8e48c7a3b5f00b3a59ba
treebb88526b3290f5e4290ec9b532bdaf05163f3e7f
parent368fd0d79c099493f2b8e80f2ffaa6f70dd0461a
drm/i915/gt: Reapply ppgtt enabling after engine resets

The GFX_MODE is reset along with the engine, turning off ppGTT. We need
to re-enable it upon resume afterwards.

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/20210114101451.24762-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/gen6_ppgtt.c
drivers/gpu/drm/i915/gt/intel_ring_submission.c