]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc9dcaeda33e01cc408f99d869081cf37cdf8f52a
tree5d58c8e9317354c398371fbb63043d1aa5690873
parentdea4be14ad7e5d7a32aac1d1d4223ca0050c4523
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