Re: [PATCH v3 01/10] drm/atomic: Add __drm_atomic_helper_plane_reset

2018-08-06 Thread Philipp Zabel
On Sat, 2018-08-04 at 17:15 +0100, Alexandru Gheorghe wrote: > There are a lot of drivers that subclass drm_plane_state, all of them > duplicate the code that links together the plane with plane_state. > > On top of that, drivers that enable core properties also have to > duplicate the code for

[PATCH v3 01/10] drm/atomic: Add __drm_atomic_helper_plane_reset

2018-08-04 Thread Alexandru Gheorghe
There are a lot of drivers that subclass drm_plane_state, all of them duplicate the code that links together the plane with plane_state. On top of that, drivers that enable core properties also have to duplicate the code for initializing the properties to their default values, which in all cases