Re: [PATCH] drm/msm/dp: remove limitation of link rate at 5.4G to support HBR3

2022-11-16 Thread Dmitry Baryshkov
On 15/11/2022 21:43, Kuogee Hsieh wrote: On 11/9/2022 11:43 PM, Dmitry Baryshkov wrote: On 10/11/2022 02:47, Kuogee Hsieh wrote: On 11/2/2022 11:04 AM, Dmitry Baryshkov wrote: On 02/11/2022 20:28, Doug Anderson wrote: Hi, On Wed, Nov 2, 2022 at 10:23 AM Dmitry Baryshkov wrote: 1. Someo

Re: [PATCH] drm/msm/dp: remove limitation of link rate at 5.4G to support HBR3

2022-11-15 Thread Kuogee Hsieh
On 11/9/2022 11:43 PM, Dmitry Baryshkov wrote: On 10/11/2022 02:47, Kuogee Hsieh wrote: On 11/2/2022 11:04 AM, Dmitry Baryshkov wrote: On 02/11/2022 20:28, Doug Anderson wrote: Hi, On Wed, Nov 2, 2022 at 10:23 AM Dmitry Baryshkov wrote: 1. Someone figures out how to model this with the

Re: [PATCH] drm/msm/dp: remove limitation of link rate at 5.4G to support HBR3

2022-11-09 Thread Dmitry Baryshkov
On 10/11/2022 02:47, Kuogee Hsieh wrote: On 11/2/2022 11:04 AM, Dmitry Baryshkov wrote: On 02/11/2022 20:28, Doug Anderson wrote: Hi, On Wed, Nov 2, 2022 at 10:23 AM Dmitry Baryshkov wrote: 1. Someone figures out how to model this with the bridge chain and then we only allow HBR3 if we de

Re: [PATCH] drm/msm/dp: remove limitation of link rate at 5.4G to support HBR3

2022-11-09 Thread Kuogee Hsieh
On 11/2/2022 11:04 AM, Dmitry Baryshkov wrote: On 02/11/2022 20:28, Doug Anderson wrote: Hi, On Wed, Nov 2, 2022 at 10:23 AM Dmitry Baryshkov wrote: 1. Someone figures out how to model this with the bridge chain and then we only allow HBR3 if we detect we've got a TCPC that supports it. T

Re: [PATCH] drm/msm/dp: remove limitation of link rate at 5.4G to support HBR3

2022-11-02 Thread Dmitry Baryshkov
On 02/11/2022 20:28, Doug Anderson wrote: Hi, On Wed, Nov 2, 2022 at 10:23 AM Dmitry Baryshkov wrote: 1. Someone figures out how to model this with the bridge chain and then we only allow HBR3 if we detect we've got a TCPC that supports it. This seems like the cleanest / best but feels like

Re: [PATCH] drm/msm/dp: remove limitation of link rate at 5.4G to support HBR3

2022-11-02 Thread Dmitry Baryshkov
On 02/11/2022 20:25, Doug Anderson wrote: Hi, On Wed, Nov 2, 2022 at 10:15 AM Dmitry Baryshkov wrote: On 01/11/2022 17:37, Doug Anderson wrote: Hi, On Mon, Oct 31, 2022 at 5:15 PM Dmitry Baryshkov wrote: On 01/11/2022 03:08, Doug Anderson wrote: Hi, On Mon, Oct 31, 2022 at 2:11 PM Kuog

Re: [PATCH] drm/msm/dp: remove limitation of link rate at 5.4G to support HBR3

2022-11-02 Thread Doug Anderson
Hi, On Wed, Nov 2, 2022 at 10:23 AM Dmitry Baryshkov wrote: > > > 1. Someone figures out how to model this with the bridge chain and > > then we only allow HBR3 if we detect we've got a TCPC that supports > > it. This seems like the cleanest / best but feels like a long pole. > > Not only have we

Re: [PATCH] drm/msm/dp: remove limitation of link rate at 5.4G to support HBR3

2022-11-02 Thread Doug Anderson
Hi, On Wed, Nov 2, 2022 at 10:15 AM Dmitry Baryshkov wrote: > > On 01/11/2022 17:37, Doug Anderson wrote: > > Hi, > > > > On Mon, Oct 31, 2022 at 5:15 PM Dmitry Baryshkov > > wrote: > >> > >> On 01/11/2022 03:08, Doug Anderson wrote: > >>> Hi, > >>> > >>> On Mon, Oct 31, 2022 at 2:11 PM Kuogee H

Re: [PATCH] drm/msm/dp: remove limitation of link rate at 5.4G to support HBR3

2022-11-02 Thread Dmitry Baryshkov
On 02/11/2022 18:47, Doug Anderson wrote: Hi, On Tue, Nov 1, 2022 at 7:37 AM Doug Anderson wrote: Hi, On Mon, Oct 31, 2022 at 5:15 PM Dmitry Baryshkov wrote: On 01/11/2022 03:08, Doug Anderson wrote: Hi, On Mon, Oct 31, 2022 at 2:11 PM Kuogee Hsieh wrote: Hi Dmitry, Link rate is ad

Re: [PATCH] drm/msm/dp: remove limitation of link rate at 5.4G to support HBR3

2022-11-02 Thread Dmitry Baryshkov
On 01/11/2022 17:37, Doug Anderson wrote: Hi, On Mon, Oct 31, 2022 at 5:15 PM Dmitry Baryshkov wrote: On 01/11/2022 03:08, Doug Anderson wrote: Hi, On Mon, Oct 31, 2022 at 2:11 PM Kuogee Hsieh wrote: Hi Dmitry, Link rate is advertised by sink, but adjusted (reduced the link rate) by ho

Re: [PATCH] drm/msm/dp: remove limitation of link rate at 5.4G to support HBR3

2022-11-02 Thread Doug Anderson
Hi, On Tue, Nov 1, 2022 at 7:37 AM Doug Anderson wrote: > > Hi, > > On Mon, Oct 31, 2022 at 5:15 PM Dmitry Baryshkov > wrote: > > > > On 01/11/2022 03:08, Doug Anderson wrote: > > > Hi, > > > > > > On Mon, Oct 31, 2022 at 2:11 PM Kuogee Hsieh > > > wrote: > > >> > > >> Hi Dmitry, > > >> > > >>

Re: [PATCH] drm/msm/dp: remove limitation of link rate at 5.4G to support HBR3

2022-11-01 Thread Doug Anderson
Hi, On Mon, Oct 31, 2022 at 5:15 PM Dmitry Baryshkov wrote: > > On 01/11/2022 03:08, Doug Anderson wrote: > > Hi, > > > > On Mon, Oct 31, 2022 at 2:11 PM Kuogee Hsieh > > wrote: > >> > >> Hi Dmitry, > >> > >> > >> Link rate is advertised by sink, but adjusted (reduced the link rate) > >> by hos

Re: [PATCH] drm/msm/dp: remove limitation of link rate at 5.4G to support HBR3

2022-10-31 Thread Dmitry Baryshkov
On 01/11/2022 03:08, Doug Anderson wrote: Hi, On Mon, Oct 31, 2022 at 2:11 PM Kuogee Hsieh wrote: Hi Dmitry, Link rate is advertised by sink, but adjusted (reduced the link rate) by host during link training. Therefore should be fine if host did not support HBR3 rate. It will reduce to lo

Re: [PATCH] drm/msm/dp: remove limitation of link rate at 5.4G to support HBR3

2022-10-31 Thread Doug Anderson
Hi, On Mon, Oct 31, 2022 at 2:11 PM Kuogee Hsieh wrote: > > Hi Dmitry, > > > Link rate is advertised by sink, but adjusted (reduced the link rate) > by host during link training. > > Therefore should be fine if host did not support HBR3 rate. > > It will reduce to lower link rate during link trai

Re: [PATCH] drm/msm/dp: remove limitation of link rate at 5.4G to support HBR3

2022-10-31 Thread Kuogee Hsieh
Hi Dmitry, Link rate is advertised by sink, but adjusted (reduced the link rate)  by host during link training. Therefore should be fine if host did not support HBR3 rate. It will reduce to lower link rate during link training procedures. kuogee On 10/31/2022 11:46 AM, Dmitry Baryshkov wro

Re: [PATCH] drm/msm/dp: remove limitation of link rate at 5.4G to support HBR3

2022-10-31 Thread Dmitry Baryshkov
On 31/10/2022 20:27, Kuogee Hsieh wrote: An HBR3-capable device shall also support TPS4. Since TPS4 feature had been implemented already, it is not necessary to limit link rate at HBR2 (5.4G). This patch remove this limitation to support HBR3 (8.1G) link rate. The DP driver supports several pla

[PATCH] drm/msm/dp: remove limitation of link rate at 5.4G to support HBR3

2022-10-31 Thread Kuogee Hsieh
An HBR3-capable device shall also support TPS4. Since TPS4 feature had been implemented already, it is not necessary to limit link rate at HBR2 (5.4G). This patch remove this limitation to support HBR3 (8.1G) link rate. Signed-off-by: Kuogee Hsieh --- drivers/gpu/drm/msm/dp/dp_panel.c | 4