]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Populate pipe dbuf slices more accurately during readout
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 4 Feb 2022 14:18:17 +0000 (16:18 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 7 Feb 2022 09:09:23 +0000 (11:09 +0200)
commitbdfaf3ed296be5dbf8fcab40708e2cce8bc690c1
tree0e64b10d4fcfa2359efed514d2aa02b7bcb6ebc8
parent9afe3adec9d875d65fd8df861348443b1c8b8b89
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>
drivers/gpu/drm/i915/intel_pm.c