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

2018-07-26 Thread Laurent Pinchart
Hi Alexandru, Thank you for the patch. On Thursday, 26 July 2018 19:17:47 EEST Alexandru Gheorghe wrote: > There are a lot of drivers that subclass drm_plane_state, all of them > duplicate the code that links toghether the plane with plane_state. s/toghether/together/ > On top of that, drivers

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

2018-07-26 Thread Alexandru Gheorghe
There are a lot of drivers that subclass drm_plane_state, all of them duplicate the code that links toghether 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