diff options
| author | Imre Deak <imre.deak@intel.com> | 2025-02-12 18:18:51 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-21 14:01:21 +0100 |
| commit | 740bc21e25825c67444cd94ecd6b08669d48e95c (patch) | |
| tree | c5bf484b7c8f458a262538748d3c7c37e5f7cb5d /arch | |
| parent | d1d10bd595539ed82ab59b60249f9bdf0994f678 (diff) | |
| download | linux-740bc21e25825c67444cd94ecd6b08669d48e95c.tar.gz linux-740bc21e25825c67444cd94ecd6b08669d48e95c.tar.bz2 linux-740bc21e25825c67444cd94ecd6b08669d48e95c.zip | |
drm: Fix DSC BPP increment decoding
[ Upstream commit e00a2e5d485faf53c7a24b9d1b575a642227947f ]
Starting with DPCD version 2.0 bits 6:3 of the DP_DSC_BITS_PER_PIXEL_INC
DPCD register contains the NativeYCbCr422_MAX_bpp_DELTA field, which can
be non-zero as opposed to earlier DPCD versions, hence decoding the
bit_per_pixel increment value at bits 2:0 in the same register requires
applying a mask, do so.
Cc: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Fixes: 0c2287c96521 ("drm/display/dp: Add helper function to get DSC bpp precision")
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250212161851.4007005-1-imre.deak@intel.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions
