]> www.infradead.org Git - users/hch/configfs.git/commit
drm/i915/dp_mst: Fix DSC input BPP computation
authorImre Deak <imre.deak@intel.com>
Tue, 11 Jun 2024 15:33:51 +0000 (18:33 +0300)
committerImre Deak <imre.deak@intel.com>
Thu, 13 Jun 2024 14:31:48 +0000 (17:31 +0300)
commitefde66b9654830170f46667a8f0ddf16fae6dbef
treeab7801f912da16d56e3e216f92005601dd8ee386
parent5a5bdc17a2fc8dabfcf630bed84d4fbca0985c3a
drm/i915/dp_mst: Fix DSC input BPP computation

The branch or sink device decompressing a stream may have a limitation
on the input/uncompressed BPP, which is lower than the base line BPP
(determined by the sink's EDID). In some cases a stream with an input
BPP higher than this limit will be converted automatically by the device
decompressing the stream, by truncating the BPP, however in some cases
- seen at least in Dell dock's DP->HDMI converters - the decompression
will fail.

Fix the above by limiting the input BPP correctly. This is done already
correctly for SST outputs.

Reviewed-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240611153351.3013235-1-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_dp_mst.c