[PATCH] drm/i915/dp: Limit max compressed bpp to 25 while forcing DSC
Ankit Nautiyal
ankit.k.nautiyal at intel.com
Mon Jul 15 08:47:40 UTC 2024
For Display > 13, while forcing DSC when DSC is not actually required,
the max compressed bpp from source i.e. 27 gets picked for compression.
This is seen to cause FIFO underruns.
Limit the max compressed bpp to 25 while forcing the dsc for display > 13.
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal at intel.com>
---
drivers/gpu/drm/i915/display/intel_dp.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index d4b1b18453dc..b63456d24107 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -1884,6 +1884,8 @@ static int dsc_src_max_compressed_bpp(struct intel_dp *intel_dp)
*/
if (DISPLAY_VER(i915) < 13)
return 23;
+ else if (intel_dp->force_dsc_en)
+ return 25;
else
return 27;
}
--
2.45.2
More information about the Intel-gfx-trybot
mailing list