Re: [PATCH v5] drm/dp: clamp PWM bit count to advertised MIN and MAX capabilities

2025-04-04 Thread Christopher Obbard
Hi Dmitry, On Sun, 30 Mar 2025 at 18:56, Dmitry Baryshkov wrote: > > On Sun, Mar 30, 2025 at 06:49:40PM +0100, Christopher Obbard wrote: > > According to the eDP specification (VESA Embedded DisplayPort Standard > > v1.4b, Section 3.3.10.2), if the value of DP_EDP_PWMGEN_BIT_COUNT is > > less tha

Re: [PATCH v5] drm/dp: clamp PWM bit count to advertised MIN and MAX capabilities

2025-03-30 Thread Dmitry Baryshkov
On Sun, Mar 30, 2025 at 06:49:40PM +0100, Christopher Obbard wrote: > According to the eDP specification (VESA Embedded DisplayPort Standard > v1.4b, Section 3.3.10.2), if the value of DP_EDP_PWMGEN_BIT_COUNT is > less than DP_EDP_PWMGEN_BIT_COUNT_CAP_MIN, the sink is required to use > the MIN valu

[PATCH v5] drm/dp: clamp PWM bit count to advertised MIN and MAX capabilities

2025-03-30 Thread Christopher Obbard
According to the eDP specification (VESA Embedded DisplayPort Standard v1.4b, Section 3.3.10.2), if the value of DP_EDP_PWMGEN_BIT_COUNT is less than DP_EDP_PWMGEN_BIT_COUNT_CAP_MIN, the sink is required to use the MIN value as the effective PWM bit count. This commit updates the logic to clamp th