diff mbox series

drm/i915/display/dp: Remove support for UHBR13.5

Message ID 20230620025243.979317-1-arun.r.murthy@intel.com (mailing list archive)
State New, archived
Headers show
Series drm/i915/display/dp: Remove support for UHBR13.5 | expand

Commit Message

Arun R Murthy June 20, 2023, 2:52 a.m. UTC
As per the DP2.1 Spec support for UHBR13.5 is optional. Hence removing
the support for UHBR13.5
UHBR10 can be used for 6k panels.

Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
---
 drivers/gpu/drm/i915/display/intel_dp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kandpal, Suraj June 21, 2023, 8:49 a.m. UTC | #1
> As per the DP2.1 Spec support for UHBR13.5 is optional. Hence removing the
> support for UHBR13.5
> UHBR10 can be used for 6k panels.
> 
> Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>

Looks Good to me 
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>

> ---
>  drivers/gpu/drm/i915/display/intel_dp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_dp.c
> b/drivers/gpu/drm/i915/display/intel_dp.c
> index 9f40da20e88d..54ddc953e5bc 100644
> --- a/drivers/gpu/drm/i915/display/intel_dp.c
> +++ b/drivers/gpu/drm/i915/display/intel_dp.c
> @@ -465,7 +465,7 @@ intel_dp_set_source_rates(struct intel_dp *intel_dp)
>  	};
>  	static const int icl_rates[] = {
>  		162000, 216000, 270000, 324000, 432000, 540000, 648000,
> 810000,
> -		1000000, 1350000,
> +		1000000,
>  	};
>  	static const int bxt_rates[] = {
>  		162000, 216000, 243000, 270000, 324000, 432000, 540000
> --
> 2.25.1
Jani Nikula June 21, 2023, 8:57 a.m. UTC | #2
On Tue, 20 Jun 2023, Arun R Murthy <arun.r.murthy@intel.com> wrote:
> As per the DP2.1 Spec support for UHBR13.5 is optional. Hence removing
> the support for UHBR13.5

That's just not a proper rationale. Please explain.

BR,
Jani.


> UHBR10 can be used for 6k panels.
>
> Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
> ---
>  drivers/gpu/drm/i915/display/intel_dp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
> index 9f40da20e88d..54ddc953e5bc 100644
> --- a/drivers/gpu/drm/i915/display/intel_dp.c
> +++ b/drivers/gpu/drm/i915/display/intel_dp.c
> @@ -465,7 +465,7 @@ intel_dp_set_source_rates(struct intel_dp *intel_dp)
>  	};
>  	static const int icl_rates[] = {
>  		162000, 216000, 270000, 324000, 432000, 540000, 648000, 810000,
> -		1000000, 1350000,
> +		1000000,
>  	};
>  	static const int bxt_rates[] = {
>  		162000, 216000, 243000, 270000, 324000, 432000, 540000
Jani Nikula June 21, 2023, 9:01 a.m. UTC | #3
On Wed, 21 Jun 2023, "Kandpal, Suraj" <suraj.kandpal@intel.com> wrote:
>> As per the DP2.1 Spec support for UHBR13.5 is optional. Hence removing the
>> support for UHBR13.5
>> UHBR10 can be used for 6k panels.
>>
>> Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
>
> Looks Good to me

How? There are a *lot* of things that are optional in the DP specs.

BR,
Jani.


> Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
>
>> ---
>>  drivers/gpu/drm/i915/display/intel_dp.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/gpu/drm/i915/display/intel_dp.c
>> b/drivers/gpu/drm/i915/display/intel_dp.c
>> index 9f40da20e88d..54ddc953e5bc 100644
>> --- a/drivers/gpu/drm/i915/display/intel_dp.c
>> +++ b/drivers/gpu/drm/i915/display/intel_dp.c
>> @@ -465,7 +465,7 @@ intel_dp_set_source_rates(struct intel_dp *intel_dp)
>>       };
>>       static const int icl_rates[] = {
>>               162000, 216000, 270000, 324000, 432000, 540000, 648000,
>> 810000,
>> -             1000000, 1350000,
>> +             1000000,
>>       };
>>       static const int bxt_rates[] = {
>>               162000, 216000, 243000, 270000, 324000, 432000, 540000
>> --
>> 2.25.1
>
Arun R Murthy June 22, 2023, 4:44 a.m. UTC | #4
> -----Original Message-----
> From: Nikula, Jani <jani.nikula@intel.com>
> Sent: Wednesday, June 21, 2023 2:27 PM
> To: Murthy, Arun R <arun.r.murthy@intel.com>; intel-
> gfx@lists.freedesktop.org
> Cc: Deak, Imre <imre.deak@intel.com>; Kahola, Mika
> <mika.kahola@intel.com>; Murthy, Arun R <arun.r.murthy@intel.com>
> Subject: Re: [PATCH] drm/i915/display/dp: Remove support for UHBR13.5
> 
> On Tue, 20 Jun 2023, Arun R Murthy <arun.r.murthy@intel.com> wrote:
> > As per the DP2.1 Spec support for UHBR13.5 is optional. Hence removing
> > the support for UHBR13.5
> 
> That's just not a proper rationale. Please explain.
> 
Programming for UHBR10 and UHBR20 is similar compared to UHBR13.5
As of now we have validated 10Gbps and 20Gbps. The spec also points out when 20Gbps is supported 13.5Gbps is optional so we have not validated/implemented the UHBR13.5
Now we have the DP2.1 compatible panel is market, expecting users can come up with UHBR13.5 not working. Hence removing the support for 13.5Gbps for now.
Maybe once we have support for UHBR13.5 in the driver we can enable this.

Thanks and Regards,
Arun R Murthy
--------------------
> BR,
> Jani.
> 
> 
> > UHBR10 can be used for 6k panels.
> >
> > Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
> > ---
> >  drivers/gpu/drm/i915/display/intel_dp.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/gpu/drm/i915/display/intel_dp.c
> > b/drivers/gpu/drm/i915/display/intel_dp.c
> > index 9f40da20e88d..54ddc953e5bc 100644
> > --- a/drivers/gpu/drm/i915/display/intel_dp.c
> > +++ b/drivers/gpu/drm/i915/display/intel_dp.c
> > @@ -465,7 +465,7 @@ intel_dp_set_source_rates(struct intel_dp
> *intel_dp)
> >  	};
> >  	static const int icl_rates[] = {
> >  		162000, 216000, 270000, 324000, 432000, 540000, 648000,
> 810000,
> > -		1000000, 1350000,
> > +		1000000,
> >  	};
> >  	static const int bxt_rates[] = {
> >  		162000, 216000, 243000, 270000, 324000, 432000, 540000
> 
> --
> Jani Nikula, Intel Open Source Graphics Center
Jani Nikula June 26, 2023, 12:32 p.m. UTC | #5
On Thu, 22 Jun 2023, "Murthy, Arun R" <arun.r.murthy@intel.com> wrote:
>> -----Original Message-----
>> From: Nikula, Jani <jani.nikula@intel.com>
>> Sent: Wednesday, June 21, 2023 2:27 PM
>> To: Murthy, Arun R <arun.r.murthy@intel.com>; intel-
>> gfx@lists.freedesktop.org
>> Cc: Deak, Imre <imre.deak@intel.com>; Kahola, Mika
>> <mika.kahola@intel.com>; Murthy, Arun R <arun.r.murthy@intel.com>
>> Subject: Re: [PATCH] drm/i915/display/dp: Remove support for UHBR13.5
>>
>> On Tue, 20 Jun 2023, Arun R Murthy <arun.r.murthy@intel.com> wrote:
>> > As per the DP2.1 Spec support for UHBR13.5 is optional. Hence removing
>> > the support for UHBR13.5
>>
>> That's just not a proper rationale. Please explain.
>>
> Programming for UHBR10 and UHBR20 is similar compared to UHBR13.5
> As of now we have validated 10Gbps and 20Gbps. The spec also points out when 20Gbps is supported 13.5Gbps is optional so we have not validated/implemented the UHBR13.5
> Now we have the DP2.1 compatible panel is market, expecting users can come up with UHBR13.5 not working. Hence removing the support for 13.5Gbps for now.
> Maybe once we have support for UHBR13.5 in the driver we can enable this.

What's missing?

BR,
Jani.



>
> Thanks and Regards,
> Arun R Murthy
> --------------------
>> BR,
>> Jani.
>>
>>
>> > UHBR10 can be used for 6k panels.
>> >
>> > Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
>> > ---
>> >  drivers/gpu/drm/i915/display/intel_dp.c | 2 +-
>> >  1 file changed, 1 insertion(+), 1 deletion(-)
>> >
>> > diff --git a/drivers/gpu/drm/i915/display/intel_dp.c
>> > b/drivers/gpu/drm/i915/display/intel_dp.c
>> > index 9f40da20e88d..54ddc953e5bc 100644
>> > --- a/drivers/gpu/drm/i915/display/intel_dp.c
>> > +++ b/drivers/gpu/drm/i915/display/intel_dp.c
>> > @@ -465,7 +465,7 @@ intel_dp_set_source_rates(struct intel_dp
>> *intel_dp)
>> >     };
>> >     static const int icl_rates[] = {
>> >             162000, 216000, 270000, 324000, 432000, 540000, 648000,
>> 810000,
>> > -           1000000, 1350000,
>> > +           1000000,
>> >     };
>> >     static const int bxt_rates[] = {
>> >             162000, 216000, 243000, 270000, 324000, 432000, 540000
>>
>> --
>> Jani Nikula, Intel Open Source Graphics Center
Arun R Murthy June 27, 2023, 7:30 a.m. UTC | #6
> -----Original Message-----
> From: Nikula, Jani <jani.nikula@intel.com>
> Sent: Monday, June 26, 2023 6:02 PM
> To: Murthy, Arun R <arun.r.murthy@intel.com>; intel-
> gfx@lists.freedesktop.org
> Cc: Deak, Imre <imre.deak@intel.com>; Kahola, Mika
> <mika.kahola@intel.com>
> Subject: RE: [PATCH] drm/i915/display/dp: Remove support for UHBR13.5
> 
> On Thu, 22 Jun 2023, "Murthy, Arun R" <arun.r.murthy@intel.com> wrote:
> >> -----Original Message-----
> >> From: Nikula, Jani <jani.nikula@intel.com>
> >> Sent: Wednesday, June 21, 2023 2:27 PM
> >> To: Murthy, Arun R <arun.r.murthy@intel.com>; intel-
> >> gfx@lists.freedesktop.org
> >> Cc: Deak, Imre <imre.deak@intel.com>; Kahola, Mika
> >> <mika.kahola@intel.com>; Murthy, Arun R <arun.r.murthy@intel.com>
> >> Subject: Re: [PATCH] drm/i915/display/dp: Remove support for UHBR13.5
> >>
> >> On Tue, 20 Jun 2023, Arun R Murthy <arun.r.murthy@intel.com> wrote:
> >> > As per the DP2.1 Spec support for UHBR13.5 is optional. Hence
> >> > removing the support for UHBR13.5
> >>
> >> That's just not a proper rationale. Please explain.
> >>
> > Programming for UHBR10 and UHBR20 is similar compared to UHBR13.5 As
> > of now we have validated 10Gbps and 20Gbps. The spec also points out
> > when 20Gbps is supported 13.5Gbps is optional so we have not
> validated/implemented the UHBR13.5 Now we have the DP2.1 compatible
> panel is market, expecting users can come up with UHBR13.5 not working.
> Hence removing the support for 13.5Gbps for now.
> > Maybe once we have support for UHBR13.5 in the driver we can enable
> this.
> 
> What's missing?
> 
Port clock programming, pll values differs.
This table has been in place but some corrections/recheck required.

Thanks and Regards,
Arun R Murthy
--------------------
Jani Nikula June 27, 2023, 8 a.m. UTC | #7
On Tue, 27 Jun 2023, "Murthy, Arun R" <arun.r.murthy@intel.com> wrote:
>> -----Original Message-----
>> From: Nikula, Jani <jani.nikula@intel.com>
>> Sent: Monday, June 26, 2023 6:02 PM
>> To: Murthy, Arun R <arun.r.murthy@intel.com>; intel-
>> gfx@lists.freedesktop.org
>> Cc: Deak, Imre <imre.deak@intel.com>; Kahola, Mika
>> <mika.kahola@intel.com>
>> Subject: RE: [PATCH] drm/i915/display/dp: Remove support for UHBR13.5
>>
>> On Thu, 22 Jun 2023, "Murthy, Arun R" <arun.r.murthy@intel.com> wrote:
>> >> -----Original Message-----
>> >> From: Nikula, Jani <jani.nikula@intel.com>
>> >> Sent: Wednesday, June 21, 2023 2:27 PM
>> >> To: Murthy, Arun R <arun.r.murthy@intel.com>; intel-
>> >> gfx@lists.freedesktop.org
>> >> Cc: Deak, Imre <imre.deak@intel.com>; Kahola, Mika
>> >> <mika.kahola@intel.com>; Murthy, Arun R <arun.r.murthy@intel.com>
>> >> Subject: Re: [PATCH] drm/i915/display/dp: Remove support for UHBR13.5
>> >>
>> >> On Tue, 20 Jun 2023, Arun R Murthy <arun.r.murthy@intel.com> wrote:
>> >> > As per the DP2.1 Spec support for UHBR13.5 is optional. Hence
>> >> > removing the support for UHBR13.5
>> >>
>> >> That's just not a proper rationale. Please explain.
>> >>
>> > Programming for UHBR10 and UHBR20 is similar compared to UHBR13.5 As
>> > of now we have validated 10Gbps and 20Gbps. The spec also points out
>> > when 20Gbps is supported 13.5Gbps is optional so we have not
>> validated/implemented the UHBR13.5 Now we have the DP2.1 compatible
>> panel is market, expecting users can come up with UHBR13.5 not working.
>> Hence removing the support for 13.5Gbps for now.
>> > Maybe once we have support for UHBR13.5 in the driver we can enable
>> this.
>>
>> What's missing?
>>
> Port clock programming, pll values differs.
> This table has been in place but some corrections/recheck required.

Can we do that instead please?

I accidentally stumbled on the relevant gitlab issue [1] (please add
this kind of information up front in the future), so we have a reporter
that could test the fixes.

BR,
Jani.


[1] https://gitlab.freedesktop.org/drm/intel/-/issues/8686

>
> Thanks and Regards,
> Arun R Murthy
> --------------------
diff mbox series

Patch

diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index 9f40da20e88d..54ddc953e5bc 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -465,7 +465,7 @@  intel_dp_set_source_rates(struct intel_dp *intel_dp)
 	};
 	static const int icl_rates[] = {
 		162000, 216000, 270000, 324000, 432000, 540000, 648000, 810000,
-		1000000, 1350000,
+		1000000,
 	};
 	static const int bxt_rates[] = {
 		162000, 216000, 243000, 270000, 324000, 432000, 540000