drm/i195: Make the async flip VT-d workaround dynamic
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 30 Sep 2021 19:09:43 +0000 (22:09 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 4 Oct 2021 19:01:42 +0000 (22:01 +0300)
commit7d396cacaea63bafe68d3a84971845c043b7c579
tree5d58c8e9317354c398371fbb63043d1aa5690873
parentd08df3b0bdb25546e86dc9a6c4e3ec0c43832299
drm/i195: Make the async flip VT-d workaround dynamic

Since the VT-d vs. async flip issues are plaguing a wider range
of supported hw let's try to minimize the impact on normal
operation by flipping the relevant chicken bits on and off
as needed. I presume there is some power/perf impact on since
this is reducing some prefetching I think.

Cc: Karthik B S <karthik.b.s@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210930190943.17547-2-ville.syrjala@linux.intel.com
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/intel_pm.c