[PATCH 10/23] drm: omapdrm: Use atomic state instead of local device state

2016-09-18 Thread Laurent Pinchart
Hi Daniel, On Monday 06 Jun 2016 04:14:59 Laurent Pinchart wrote: > On Wednesday 11 May 2016 09:37:56 Daniel Vetter wrote: > > On Tue, May 10, 2016 at 04:24:11PM +0300, Tomi Valkeinen wrote: > >> On 26/04/16 23:35, Laurent Pinchart wrote: > >>> Instead of conditioning planes update based on the ha

[PATCH 10/23] drm: omapdrm: Use atomic state instead of local device state

2016-06-07 Thread Laurent Pinchart
Hi Tomi, On Monday 06 Jun 2016 13:37:13 Tomi Valkeinen wrote: > On 06/06/16 04:14, Laurent Pinchart wrote: > >>> If the DRM core doesn't track whether a CRTC HW is enabled at the > >>> moment, maybe omapdrm should? I guess the above works, but that if() > >>> makes me a bit uneasy, as it's not rea

[PATCH 10/23] drm: omapdrm: Use atomic state instead of local device state

2016-06-06 Thread Tomi Valkeinen
On 06/06/16 04:14, Laurent Pinchart wrote: >>> If the DRM core doesn't track whether a CRTC HW is enabled at the >>> moment, maybe omapdrm should? I guess the above works, but that if() >>> makes me a bit uneasy, as it's not really obvious, and the logic behind >>> it could possibly change later..

[PATCH 10/23] drm: omapdrm: Use atomic state instead of local device state

2016-06-06 Thread Laurent Pinchart
Hi Tomi and Daniel, On Wednesday 11 May 2016 09:37:56 Daniel Vetter wrote: > On Tue, May 10, 2016 at 04:24:11PM +0300, Tomi Valkeinen wrote: > > On 26/04/16 23:35, Laurent Pinchart wrote: > >> Instead of conditioning planes update based on the hardware device > >> state, use the CRTC state stored

[PATCH 10/23] drm: omapdrm: Use atomic state instead of local device state

2016-05-11 Thread Daniel Vetter
On Tue, May 10, 2016 at 04:24:11PM +0300, Tomi Valkeinen wrote: > > On 26/04/16 23:35, Laurent Pinchart wrote: > > Instead of conditioning planes update based on the hardware device > > state, use the CRTC state stored in the atomic state. This reduces the > > dependency from the DRM layer to the

[PATCH 10/23] drm: omapdrm: Use atomic state instead of local device state

2016-05-10 Thread Tomi Valkeinen
On 26/04/16 23:35, Laurent Pinchart wrote: > Instead of conditioning planes update based on the hardware device > state, use the CRTC state stored in the atomic state. This reduces the > dependency from the DRM layer to the DSS layer. > > Signed-off-by: Laurent Pinchart > --- > drivers/gpu/drm/

[PATCH 10/23] drm: omapdrm: Use atomic state instead of local device state

2016-04-26 Thread Laurent Pinchart
Instead of conditioning planes update based on the hardware device state, use the CRTC state stored in the atomic state. This reduces the dependency from the DRM layer to the DSS layer. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/omapdrm/omap_crtc.c | 23 ++- 1 file c