Re: [Freedreno] [PATCH 4/5] drm/msm/dsi: get the clocks into OFF state at init

2019-07-02 Thread Rob Clark
On Mon, Jul 1, 2019 at 12:07 PM Jeffrey Hugo wrote: > > On 7/1/2019 12:58 PM, Rob Clark wrote: > > On Mon, Jul 1, 2019 at 11:37 AM Jeffrey Hugo wrote: > >> > >> On 6/30/2019 9:01 AM, Rob Clark wrote: > >>> From: Rob Clark > >>> > >>> Do an extra enable/disable cycle at init, to get the clks into

Re: [Freedreno] [PATCH 4/5] drm/msm/dsi: get the clocks into OFF state at init

2019-07-01 Thread Rob Clark
On Mon, Jul 1, 2019 at 12:07 PM Jeffrey Hugo wrote: > > On 7/1/2019 12:58 PM, Rob Clark wrote: > > On Mon, Jul 1, 2019 at 11:37 AM Jeffrey Hugo wrote: > >> > >> On 6/30/2019 9:01 AM, Rob Clark wrote: > >>> From: Rob Clark > >>> > >>> Do an extra enable/disable cycle at init, to get the clks into

Re: [Freedreno] [PATCH 4/5] drm/msm/dsi: get the clocks into OFF state at init

2019-07-01 Thread Jeffrey Hugo
On 7/1/2019 12:58 PM, Rob Clark wrote: On Mon, Jul 1, 2019 at 11:37 AM Jeffrey Hugo wrote: On 6/30/2019 9:01 AM, Rob Clark wrote: From: Rob Clark Do an extra enable/disable cycle at init, to get the clks into disabled state in case bootloader left them enabled. In case they were already en

Re: [Freedreno] [PATCH 4/5] drm/msm/dsi: get the clocks into OFF state at init

2019-07-01 Thread Rob Clark
On Mon, Jul 1, 2019 at 11:37 AM Jeffrey Hugo wrote: > > On 6/30/2019 9:01 AM, Rob Clark wrote: > > From: Rob Clark > > > > Do an extra enable/disable cycle at init, to get the clks into disabled > > state in case bootloader left them enabled. > > > > In case they were already enabled, the clk_pre

Re: [Freedreno] [PATCH 4/5] drm/msm/dsi: get the clocks into OFF state at init

2019-07-01 Thread Jeffrey Hugo
On 6/30/2019 9:01 AM, Rob Clark wrote: From: Rob Clark Do an extra enable/disable cycle at init, to get the clks into disabled state in case bootloader left them enabled. In case they were already enabled, the clk_prepare_enable() has no real effect, other than getting the enable_count/prepare

[Freedreno] [PATCH 4/5] drm/msm/dsi: get the clocks into OFF state at init

2019-06-30 Thread Rob Clark
From: Rob Clark Do an extra enable/disable cycle at init, to get the clks into disabled state in case bootloader left them enabled. In case they were already enabled, the clk_prepare_enable() has no real effect, other than getting the enable_count/prepare_count into the right state so that we ca