[PATCH 4/4] drm/sti: atomic crtc/plane update

2015-08-03 Thread Benjamin Gaignard
From: Vincent Abriou Better fit STI hardware structure. Planes are no more responsible of updating mixer information such as z-order and status. It is now up to the CRTC atomic flush to do it. Plane actions (enable or disable) are performed atomically. Disabling of a plane

[PATCH 4/4] drm/sti: atomic crtc/plane update

2015-07-31 Thread Daniel Vetter
On Fri, Jul 31, 2015 at 12:13:27PM +0200, Vincent Abriou wrote: > static struct drm_crtc_helper_funcs sti_crtc_helper_funcs = { > .dpms = sti_crtc_dpms, dpms isn't needed any more with atomic, you should use drm_atomic_helper_connector_dpms instead of drm_helper_connector_dpms. > -

[PATCH 4/4] drm/sti: atomic crtc/plane update

2015-07-31 Thread Benjamin Gaignard
Hello Emil, This series of patches is the second step to convert sit driver to atomic, I have the first step few weeks ago. This time we really take benefit of the atomic helpers to make match correctly code and hardware split. To give you an example, before those patches, we were calling code

[PATCH 4/4] drm/sti: atomic crtc/plane update

2015-07-31 Thread Emil Velikov
On 31 July 2015 at 13:54, Benjamin Gaignard wrote: > Hello Emil, > > This series of patches is the second step to convert sit driver to atomic, > I have the first step few weeks ago. > This time we really take benefit of the atomic helpers to make match > correctly code and hardware split. To

[PATCH 4/4] drm/sti: atomic crtc/plane update

2015-07-31 Thread Emil Velikov
Hello Vincent, On 31 July 2015 at 11:13, Vincent Abriou wrote: > Better fit STI hardware structure. > Planes are no more responsible of updating mixer information such > as z-order and status. It is now up to the CRTC atomic flush to > do it. Plane actions (enable or disable) are performed

[PATCH 4/4] drm/sti: atomic crtc/plane update

2015-07-31 Thread Vincent Abriou
Better fit STI hardware structure. Planes are no more responsible of updating mixer information such as z-order and status. It is now up to the CRTC atomic flush to do it. Plane actions (enable or disable) are performed atomically. Disabling of a plane is synchronize with the vsync event.