]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 1 Nov 2021 20:38:58 +0000 (16:38 -0400)
commitaf8badf07743353faf82064385addf70cd072778
tree4701f626d52efe1dea7f9072ca615d1332e2b95d
parent36de6422d5c51570397b2092495bfe54790d0ed5
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: 1b4e7474aed0 ("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 21627addb11cda1ce44c1e58eff4bdbcc92e2750)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
(cherry picked from commit cff8b49040df81df4a5a888c7b7c708430ba2d05)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/intel_pm.c