[RESEND PATCH] drm/rockchip: vop: Correct enabled clocks during setup

2015-11-06 Thread Sjoerd Simons
When doing the initial setup both the hclk and the aclk need to be enabled otherwise the board will simply hang. This only occurs when building the vop driver as a module, when its built-in the initial setup happens to run before the clock framework shuts of unused clocks (including the aclk).

[PATCH] drm/rockchip: vop: Correct enabled clocks during setup

2015-09-30 Thread Romain Perier
Hi all, I had an issue with the drm driver, when I start the kernel via kexec, the drm driver freezes the platform. it is caused by the function vop_initial (when copying registers via ahb). This issue happens with the chromeos kernel or with the mainline kernel. When I investigated a bit, I

[PATCH] drm/rockchip: vop: Correct enabled clocks during setup

2015-09-29 Thread Yakir Yang
On 09/29/2015 05:55 PM, Yakir Yang wrote: > > > On 09/29/2015 05:28 PM, Sjoerd Simons wrote: >> When doing the initial setup both the hclk and the aclk need to be >> enabled otherwise the board will simply hang. This only occurs when >> building the vop driver as a module, when its built-in the

[PATCH] drm/rockchip: vop: Correct enabled clocks during setup

2015-09-29 Thread Mark yao
Hi Sjoerd We double check this problem, yes, board will hang if aclk is disabled when setting vop register. Acked-by: Mark Yao Thanks for this fix. On 2015年09月29日 17:28, Sjoerd Simons wrote: > When doing the initial setup both the hclk and the aclk need to be > enabled

[PATCH] drm/rockchip: vop: Correct enabled clocks during setup

2015-09-29 Thread Yakir Yang
On 09/29/2015 05:28 PM, Sjoerd Simons wrote: > When doing the initial setup both the hclk and the aclk need to be > enabled otherwise the board will simply hang. This only occurs when > building the vop driver as a module, when its built-in the initial setup > happens to run before the clock

[PATCH] drm/rockchip: vop: Correct enabled clocks during setup

2015-09-29 Thread Sjoerd Simons
On Tue, 2015-09-29 at 18:58 +0800, Yakir Yang wrote: > > On 09/29/2015 05:55 PM, Yakir Yang wrote: > > > > > > On 09/29/2015 05:28 PM, Sjoerd Simons wrote: > > > When doing the initial setup both the hclk and the aclk need to > > > be > > > enabled otherwise the board will simply hang. This

[PATCH] drm/rockchip: vop: Correct enabled clocks during setup

2015-09-29 Thread Sjoerd Simons
When doing the initial setup both the hclk and the aclk need to be enabled otherwise the board will simply hang. This only occurs when building the vop driver as a module, when its built-in the initial setup happens to run before the clock framework shuts of unused clocks (including the aclk).