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

2025-08-04 Thread Dmitry Baryshkov
On Mon, Aug 04, 2025 at 03:22:32PM +0200, Johan Hovold wrote: > On Thu, Jul 24, 2025 at 02:09:10PM +0300, Dmitry Baryshkov wrote: > > On 24/07/2025 12:42, Neil Armstrong wrote: > > > On 24/07/2025 11:32, Dmitry Baryshkov wrote: > > >> On Thu, 24 Jul 2025 at 12:08, wrote: > > >>> On 20/05/2025 10:0

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

2025-08-04 Thread Johan Hovold
On Thu, Jul 24, 2025 at 02:09:10PM +0300, Dmitry Baryshkov wrote: > On 24/07/2025 12:42, Neil Armstrong wrote: > > On 24/07/2025 11:32, Dmitry Baryshkov wrote: > >> On Thu, 24 Jul 2025 at 12:08, wrote: > >>> On 20/05/2025 10:06, Johan Hovold wrote: > On Fri, Apr 04, 2025 at 02:24:32PM +0100,

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

2025-07-24 Thread Dmitry Baryshkov
On 24/07/2025 12:42, Neil Armstrong wrote: On 24/07/2025 11:32, Dmitry Baryshkov wrote: On Thu, 24 Jul 2025 at 12:08, wrote: On 20/05/2025 10:06, Johan Hovold wrote: Hi Chris, On Fri, Apr 04, 2025 at 02:24:32PM +0100, Christopher Obbard wrote: On Fri, 4 Apr 2025 at 09:54, Johan Hovold

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

2025-07-24 Thread Johan Hovold
On Thu, Jul 24, 2025 at 11:42:38AM +0200, Neil Armstrong wrote: > On 24/07/2025 11:32, Dmitry Baryshkov wrote: > > On Thu, 24 Jul 2025 at 12:08, wrote: > >> On 20/05/2025 10:06, Johan Hovold wrote: > >>> On Fri, Apr 04, 2025 at 02:24:32PM +0100, Christopher Obbard wrote: > On Fri, 4 Apr 2025

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

2025-07-24 Thread Neil Armstrong
On 24/07/2025 11:32, Dmitry Baryshkov wrote: On Thu, 24 Jul 2025 at 12:08, wrote: On 20/05/2025 10:06, Johan Hovold wrote: Hi Chris, On Fri, Apr 04, 2025 at 02:24:32PM +0100, Christopher Obbard wrote: On Fri, 4 Apr 2025 at 09:54, Johan Hovold wrote: On Fri, Apr 04, 2025 at 08:54:29AM +010

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

2025-07-24 Thread Dmitry Baryshkov
On Thu, 24 Jul 2025 at 12:08, wrote: > > On 20/05/2025 10:06, Johan Hovold wrote: > > Hi Chris, > > > > On Fri, Apr 04, 2025 at 02:24:32PM +0100, Christopher Obbard wrote: > >> On Fri, 4 Apr 2025 at 09:54, Johan Hovold wrote: > >>> On Fri, Apr 04, 2025 at 08:54:29AM +0100, Christopher Obbard wrot

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

2025-07-24 Thread neil . armstrong
On 20/05/2025 10:06, Johan Hovold wrote: Hi Chris, On Fri, Apr 04, 2025 at 02:24:32PM +0100, Christopher Obbard wrote: On Fri, 4 Apr 2025 at 09:54, Johan Hovold wrote: On Fri, Apr 04, 2025 at 08:54:29AM +0100, Christopher Obbard wrote: On Mon, 31 Mar 2025 at 09:33, Johan Hovold wrote: @@ -

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

2025-05-20 Thread Johan Hovold
Hi Chris, On Fri, Apr 04, 2025 at 02:24:32PM +0100, Christopher Obbard wrote: > On Fri, 4 Apr 2025 at 09:54, Johan Hovold wrote: > > On Fri, Apr 04, 2025 at 08:54:29AM +0100, Christopher Obbard wrote: > > > On Mon, 31 Mar 2025 at 09:33, Johan Hovold wrote: > > > > > @@ -4035,6 +4036,32 @@ drm_ed

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

2025-04-04 Thread Christopher Obbard
Johan, On Fri, 4 Apr 2025 at 09:54, Johan Hovold wrote: > > On Fri, Apr 04, 2025 at 08:54:29AM +0100, Christopher Obbard wrote: > > On Mon, 31 Mar 2025 at 09:33, Johan Hovold wrote: > > > > > @@ -4035,6 +4036,32 @@ drm_edp_backlight_probe_max(struct drm_dp_aux > > > > *aux, struct drm_edp_backl

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

2025-04-04 Thread Johan Hovold
On Fri, Apr 04, 2025 at 08:54:29AM +0100, Christopher Obbard wrote: > On Mon, 31 Mar 2025 at 09:33, Johan Hovold wrote: > > > @@ -4035,6 +4036,32 @@ drm_edp_backlight_probe_max(struct drm_dp_aux > > > *aux, struct drm_edp_backlight_inf > > > } > > > > > > pn &= DP_EDP_PWMGEN_BIT_COUN

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

2025-04-04 Thread Christopher Obbard
Hi Johan, On Mon, 31 Mar 2025 at 09:33, Johan Hovold wrote: > > On Sun, Mar 30, 2025 at 08:31:07PM +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_

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

2025-03-31 Thread Johan Hovold
On Sun, Mar 30, 2025 at 08:31:07PM +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 v6] 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

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

2025-03-30 Thread Dmitry Baryshkov
On Sun, Mar 30, 2025 at 08:31:07PM +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