Re: [RFC PATCH v2 1/1] drm/tegra: sor: Fix hang on tegra124 due to NULL clk_out

2018-01-10 Thread Thierry Reding
On Tue, Jan 02, 2018 at 06:32:11PM +, Jon Hunter wrote: > > On 20/12/17 18:15, Thierry Reding wrote: > > On Wed, Dec 20, 2017 at 11:32:23AM +, Guillaume Tucker wrote: > >> When neither HDMI nor DP is supported such as on the tegra124, the > >> sor->clk_out is not initialised and remains

Re: [RFC PATCH v2 1/1] drm/tegra: sor: Fix hang on tegra124 due to NULL clk_out

2018-01-10 Thread Thierry Reding
On Tue, Jan 02, 2018 at 06:32:11PM +, Jon Hunter wrote: > > On 20/12/17 18:15, Thierry Reding wrote: > > On Wed, Dec 20, 2017 at 11:32:23AM +, Guillaume Tucker wrote: > >> When neither HDMI nor DP is supported such as on the tegra124, the > >> sor->clk_out is not initialised and remains

Re: [RFC PATCH v2 1/1] drm/tegra: sor: Fix hang on tegra124 due to NULL clk_out

2018-01-02 Thread Jon Hunter
On 20/12/17 18:15, Thierry Reding wrote: > On Wed, Dec 20, 2017 at 11:32:23AM +, Guillaume Tucker wrote: >> When neither HDMI nor DP is supported such as on the tegra124, the >> sor->clk_out is not initialised and remains NULL. In this case, the >> parent clock can't be assigned to it so

Re: [RFC PATCH v2 1/1] drm/tegra: sor: Fix hang on tegra124 due to NULL clk_out

2018-01-02 Thread Jon Hunter
On 20/12/17 18:15, Thierry Reding wrote: > On Wed, Dec 20, 2017 at 11:32:23AM +, Guillaume Tucker wrote: >> When neither HDMI nor DP is supported such as on the tegra124, the >> sor->clk_out is not initialised and remains NULL. In this case, the >> parent clock can't be assigned to it so

Re: [RFC PATCH v2 1/1] drm/tegra: sor: Fix hang on tegra124 due to NULL clk_out

2017-12-20 Thread Thierry Reding
On Wed, Dec 20, 2017 at 11:32:23AM +, Guillaume Tucker wrote: > When neither HDMI nor DP is supported such as on the tegra124, the > sor->clk_out is not initialised and remains NULL. In this case, the > parent clock can't be assigned to it so revert to the previous > behaviour of assigning it

Re: [RFC PATCH v2 1/1] drm/tegra: sor: Fix hang on tegra124 due to NULL clk_out

2017-12-20 Thread Thierry Reding
On Wed, Dec 20, 2017 at 11:32:23AM +, Guillaume Tucker wrote: > When neither HDMI nor DP is supported such as on the tegra124, the > sor->clk_out is not initialised and remains NULL. In this case, the > parent clock can't be assigned to it so revert to the previous > behaviour of assigning it

[RFC PATCH v2 1/1] drm/tegra: sor: Fix hang on tegra124 due to NULL clk_out

2017-12-20 Thread Guillaume Tucker
When neither HDMI nor DP is supported such as on the tegra124, the sor->clk_out is not initialised and remains NULL. In this case, the parent clock can't be assigned to it so revert to the previous behaviour of assigning it to the main sor->clk instead. This fixes a kernel hang on tegra124 and

[RFC PATCH v2 1/1] drm/tegra: sor: Fix hang on tegra124 due to NULL clk_out

2017-12-20 Thread Guillaume Tucker
When neither HDMI nor DP is supported such as on the tegra124, the sor->clk_out is not initialised and remains NULL. In this case, the parent clock can't be assigned to it so revert to the previous behaviour of assigning it to the main sor->clk instead. This fixes a kernel hang on tegra124 and