On 25-03-25 19:21:29, Christopher Obbard wrote: > Some eDP devices report DP_EDP_PWMGEN_BIT_COUNT as 0, but still provide > valid non-zero MIN and MAX values. This patch reworks the logic to > fallback to the max value in such cases, ensuring correct backlight PWM > configuration even when the bit count value is not explicitly set. > > This improves compatibility with eDP panels (e.g. Samsung ATNA40YK20 > used on the Lenovo T14s Gen6 Snapdragon with OLED panel) which reports > DP_EDP_PWMGEN_BIT_COUNT as 0 but still provides valid non-zero MIN/MAX > values. >
Nit-pick: AFAICT, there is no relationship between this patch and the rest. So it should've probably not be part of this patchset.