Ville Syrjälä 85bb289215 drm/i915: Populate pipe dbuf slices more accurately during readout
During readout we cannot assume the planes are actually using the
slices they are supposed to use. The BIOS may have misprogrammed
things and put the planes onto the wrong dbuf slices. So let's
do the readout more carefully to make sure we really know which
dbuf slices are actually in use by the pipe at the time.

Cc: <stable@vger.kernel.org> # v5.14+
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220204141818.1900-2-ville.syrjala@linux.intel.com
Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
(cherry picked from commit b3dcc6dc0f32612d04839c2fb32e94d0ebf92c98)
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
2022-02-07 12:56:49 +00:00
..
2021-10-07 11:04:05 -07:00
2021-12-17 21:51:59 -08:00
2021-12-09 09:31:45 +01:00
2021-12-17 21:51:59 -08:00
2021-12-17 21:51:59 -08:00
2021-12-17 21:51:59 -08:00
2021-11-02 16:47:49 -07:00
2021-12-17 21:51:59 -08:00
2021-12-17 21:51:59 -08:00
2021-11-22 17:35:32 +02:00