Re: [PATCH v2] drm/dp: fallback to minimum when PWM bit count is zero

2025-03-28 Thread Christopher Obbard
On Fri, 28 Mar 2025 at 11:25, Dmitry Baryshkov wrote: > > On Thu, 27 Mar 2025 at 20:19, Christopher Obbard > wrote: > > > > Hi Dmitry, > > > > On Thu, 27 Mar 2025 at 17:40, Dmitry Baryshkov > > wrote: > > > > > > On 27/03/2025 19:25, Christopher Obbard wrote: > > > > According to the eDP specifi

Re: [PATCH v2] drm/dp: fallback to minimum when PWM bit count is zero

2025-03-28 Thread Dmitry Baryshkov
On Thu, 27 Mar 2025 at 20:19, Christopher Obbard wrote: > > Hi Dmitry, > > On Thu, 27 Mar 2025 at 17:40, Dmitry Baryshkov > wrote: > > > > On 27/03/2025 19:25, Christopher Obbard wrote: > > > According to the eDP specification (e.g., VESA eDP 1.4b, section > > > 3.3.10.2), > > > if DP_EDP_PWMGEN

Re: [PATCH v2] drm/dp: fallback to minimum when PWM bit count is zero

2025-03-27 Thread Christopher Obbard
Hi Dmitry, On Thu, 27 Mar 2025 at 17:40, Dmitry Baryshkov wrote: > > On 27/03/2025 19:25, Christopher Obbard wrote: > > According to the eDP specification (e.g., VESA eDP 1.4b, section 3.3.10.2), > > if DP_EDP_PWMGEN_BIT_COUNT is less than DP_EDP_PWMGEN_BIT_COUNT_CAP_MIN, > > the sink is required

Re: [PATCH v2] drm/dp: fallback to minimum when PWM bit count is zero

2025-03-27 Thread Dmitry Baryshkov
On 27/03/2025 19:25, Christopher Obbard wrote: According to the eDP specification (e.g., VESA eDP 1.4b, section 3.3.10.2), if 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 bit count. Some eDP panels report DP_EDP_

[PATCH v2] drm/dp: fallback to minimum when PWM bit count is zero

2025-03-27 Thread Christopher Obbard
According to the eDP specification (e.g., VESA eDP 1.4b, section 3.3.10.2), if 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 bit count. Some eDP panels report DP_EDP_PWMGEN_BIT_COUNT as 0 while still providing valid