Re: [PATCH v15 1/4] drm/msm/dp: do not initialize phy until plugin interrupt received

2022-01-14 Thread Stephen Boyd
Quoting Kuogee Hsieh (2022-01-14 14:28:52) > > On 1/14/2022 1:41 PM, Stephen Boyd wrote: > > Quoting Kuogee Hsieh (2022-01-14 13:11:47) > >> diff --git a/drivers/gpu/drm/msm/dp/dp_display.c > >> b/drivers/gpu/drm/msm/dp/dp_display.c > >> index 7cc4d21..7cd6222 100644 > >> ---

Re: [PATCH v15 1/4] drm/msm/dp: do not initialize phy until plugin interrupt received

2022-01-14 Thread Kuogee Hsieh
On 1/14/2022 1:41 PM, Stephen Boyd wrote: Quoting Kuogee Hsieh (2022-01-14 13:11:47) diff --git a/drivers/gpu/drm/msm/dp/dp_display.c b/drivers/gpu/drm/msm/dp/dp_display.c index 7cc4d21..7cd6222 100644 --- a/drivers/gpu/drm/msm/dp/dp_display.c +++ b/drivers/gpu/drm/msm/dp/dp_display.c @@

Re: [PATCH v15 1/4] drm/msm/dp: do not initialize phy until plugin interrupt received

2022-01-14 Thread Stephen Boyd
Quoting Kuogee Hsieh (2022-01-14 13:11:47) > diff --git a/drivers/gpu/drm/msm/dp/dp_display.c > b/drivers/gpu/drm/msm/dp/dp_display.c > index 7cc4d21..7cd6222 100644 > --- a/drivers/gpu/drm/msm/dp/dp_display.c > +++ b/drivers/gpu/drm/msm/dp/dp_display.c > @@ -696,12 +699,9 @@ static int

[PATCH v15 1/4] drm/msm/dp: do not initialize phy until plugin interrupt received

2022-01-14 Thread Kuogee Hsieh
Current DP drivers have regulators, clocks, irq and phy are grouped together within a function and executed not in a symmetric manner. This increase difficulty of code maintenance and limited code scalability. This patch divides the driver life cycle of operation into four states, resume