Re: [Freedreno] [PATCH v8 1/2] drm/msm/dp: force link training for display resolution change

2022-06-22 Thread Kuogee Hsieh
On 6/22/2022 12:26 AM, Dmitry Baryshkov wrote: On 16/06/2022 20:09, Kuogee Hsieh wrote: Display resolution change is implemented through drm modeset. Older modeset (resolution) has to be disabled first before newer modeset (resolution) can be enabled. Display disable will turn off both pixel c

Re: [Freedreno] [PATCH v8 1/2] drm/msm/dp: force link training for display resolution change

2022-06-22 Thread Dmitry Baryshkov
On 16/06/2022 20:09, Kuogee Hsieh wrote: Display resolution change is implemented through drm modeset. Older modeset (resolution) has to be disabled first before newer modeset (resolution) can be enabled. Display disable will turn off both pixel clock and main link clock so that main link have to

Re: [Freedreno] [PATCH v8 1/2] drm/msm/dp: force link training for display resolution change

2022-06-16 Thread Stephen Boyd
Quoting Kuogee Hsieh (2022-06-16 10:09:20) > diff --git a/drivers/gpu/drm/msm/dp/dp_ctrl.h > b/drivers/gpu/drm/msm/dp/dp_ctrl.h > index 0745fde..9a39b00 100644 > --- a/drivers/gpu/drm/msm/dp/dp_ctrl.h > +++ b/drivers/gpu/drm/msm/dp/dp_ctrl.h > @@ -21,7 +21,8 @@ struct dp_ctrl { > }; > > int dp_c

[Freedreno] [PATCH v8 1/2] drm/msm/dp: force link training for display resolution change

2022-06-16 Thread Kuogee Hsieh
Display resolution change is implemented through drm modeset. Older modeset (resolution) has to be disabled first before newer modeset (resolution) can be enabled. Display disable will turn off both pixel clock and main link clock so that main link have to be re-trained during display enable to hav