]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drivers/drm/i915: Honor limits->max_bpp while computing DSC max input bpp
authorAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Thu, 24 Aug 2023 12:51:21 +0000 (18:21 +0530)
committerJani Nikula <jani.nikula@intel.com>
Wed, 30 Aug 2023 11:50:17 +0000 (14:50 +0300)
commita10ca2afb8d3c055b3eae6aecd0c944185c99e48
tree60423b3d6fc59ad6aa9c550b022eec3dcae306e2
parent10eaac085bfe0b3cf7ffd7406375d3f3bc817a95
drivers/drm/i915: Honor limits->max_bpp while computing DSC max input bpp

Edid specific BPC constraints are stored in limits->max_bpp. Honor these
limits while computing the input bpp for DSC.

v2: Use int instead of u8 for computations. (Jani)
Add closes tag. (Ankit)

Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/9161
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230824125121.840298-3-ankit.k.nautiyal@intel.com
drivers/gpu/drm/i915/display/intel_dp.c