Re: [Patch v4 5/8] drm/omap: Add global state as a private atomic object

2018-10-19 Thread Daniel Vetter
On Thu, Oct 18, 2018 at 08:11:30AM -0500, Benoit Parrot wrote: > Daniel Vetter wrote on Tue [2018-Oct-16 14:29:46 +0200]: > > On Fri, Oct 12, 2018 at 03:17:00PM -0500, Benoit Parrot wrote: > > > Global shared resources (like hw overlays) for omapdrm are implemented > > > as a part of atomic state

Re: [Patch v4 5/8] drm/omap: Add global state as a private atomic object

2018-10-18 Thread Benoit Parrot
Daniel Vetter wrote on Tue [2018-Oct-16 14:29:46 +0200]: > On Fri, Oct 12, 2018 at 03:17:00PM -0500, Benoit Parrot wrote: > > Global shared resources (like hw overlays) for omapdrm are implemented > > as a part of atomic state using the drm_private_obj infrastructure > > available in the atomic co

Re: [Patch v4 5/8] drm/omap: Add global state as a private atomic object

2018-10-16 Thread Daniel Vetter
On Fri, Oct 12, 2018 at 03:17:00PM -0500, Benoit Parrot wrote: > Global shared resources (like hw overlays) for omapdrm are implemented > as a part of atomic state using the drm_private_obj infrastructure > available in the atomic core. > > omap_global_state is introduced as a drm atomic private o

[Patch v4 5/8] drm/omap: Add global state as a private atomic object

2018-10-12 Thread Benoit Parrot
Global shared resources (like hw overlays) for omapdrm are implemented as a part of atomic state using the drm_private_obj infrastructure available in the atomic core. omap_global_state is introduced as a drm atomic private object. The two funcs omap_get_global_state() and omap_get_existing_global