drm/i915/gt: Restore clear-residual mitigations for Ivybridge, Baytrail
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 11 Jan 2021 22:52:19 +0000 (22:52 +0000)
committerJani Nikula <jani.nikula@intel.com>
Tue, 12 Jan 2021 17:03:40 +0000 (19:03 +0200)
commit09aa9e45863e9e25dfbf350bae89fc3c2964482c
tree52b8afd45266860763e595970985527725aac8d1
parentffaf97899c4a58b9fefb11534f730785443611a8
drm/i915/gt: Restore clear-residual mitigations for Ivybridge, Baytrail

The mitigation is required for all gen7 platforms, now that it does not
cause GPU hangs, restore it for Ivybridge and Baytrail.

Fixes: 47f8253d2b89 ("drm/i915/gen7: Clear all EU/L3 residual contexts")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Prathap Kumar Valsan <prathap.kumar.valsan@intel.com>
Cc: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Cc: Bloomfield Jon <jon.bloomfield@intel.com>
Reviewed-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210111225220.3483-2-chris@chris-wilson.co.uk
(cherry picked from commit 008ead6ef8f588a8c832adfe9db201d9be5fd410)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/gt/intel_ring_submission.c