OSDN Git Service

drm/i915: Extend the async flip VT-d w/a to skl/bxt
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 30 Sep 2021 19:09:42 +0000 (22:09 +0300)
committerJani Nikula <jani.nikula@intel.com>
Tue, 5 Oct 2021 08:52:48 +0000 (11:52 +0300)
commitb2d73debfdc16b742e64948dc4461876af3f8c10
treed331c9a96988fec44eb3fc542798efbfd0f68123
parentfdddf8c3a477f77b3a623f220e78d45e89fc50d5
drm/i915: Extend the async flip VT-d w/a to skl/bxt

Looks like skl/bxt/derivatives also need the plane stride
stretch w/a when using async flips and VT-d is enabled, or
else we get corruption on screen. To my surprise this was
even documented in bspec, but only as a note on the
CHICHKEN_PIPESL register description rather than on the
w/a list.

So very much the same thing as on HSW/BDW, except the bits
moved yet again.

Cc: stable@vger.kernel.org
Cc: Karthik B S <karthik.b.s@intel.com>
Fixes: 55ea1cb178ef ("drm/i915: Enable async flips in i915")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210930190943.17547-1-ville.syrjala@linux.intel.com
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
(cherry picked from commit d08df3b0bdb25546e86dc9a6c4e3ec0c43832299)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_pm.c