[PATCH] drm/rockchip: vop: Reset yrgb_mst when re-enabling

2016-03-21 Thread Tomeu Vizoso
On 19 March 2016 at 02:15, Mark yao wrote: > On 2016年03月18日 19:22, Tomeu Vizoso wrote: >> >> When the VOP is re-enabled, it will start scanning right away the >> framebuffers that were configured from the last time, even if those have >> been destroyed already. To prevent the VOP from

[PATCH] drm/rockchip: vop: Reset yrgb_mst when re-enabling

2016-03-19 Thread Mark yao
On 2016年03月18日 19:22, Tomeu Vizoso wrote: > When the VOP is re-enabled, it will start scanning right away the > framebuffers that were configured from the last time, even if those have > been destroyed already. To prevent the VOP from trying to access freed > memory, reset the registers that

[PATCH] drm/rockchip: vop: Reset yrgb_mst when re-enabling

2016-03-18 Thread Tomeu Vizoso
When the VOP is re-enabled, it will start scanning right away the framebuffers that were configured from the last time, even if those have been destroyed already. To prevent the VOP from trying to access freed memory, reset the registers that hold pointers to framebuffers right after we can write