Re: [PATCH] drm/tilcdc: Turn raster off in crtc reset, if it was on in the HW

2017-05-26 Thread Daniel Vetter
On Fri, May 26, 2017 at 12:56 PM, Jyri Sarha wrote: > The best possible crtc reset callback implementation would be reading > the video mode information from the registers and generating the new > crtc state based on that. But I have no idea what I should do with > framebuffer that

[PATCH] drm/tilcdc: Turn raster off in crtc reset, if it was on in the HW

2017-05-26 Thread Jyri Sarha
This forces the HW to be in sync with the empty state. This should help with the problem when LCDC is already enabled (e.g. by the bootloader) at the initialization phase and the enable fails when a new mode is applied. Signed-off-by: Jyri Sarha --- There is two earlier patches