Re: (subset) [PATCH v2 07/22] drm/object: Add default zpos value at reset

2022-02-25 Thread Maxime Ripard
On Mon, 21 Feb 2022 10:59:03 +0100, Maxime Ripard wrote: > From: Dave Stevenson > > The drm_plane_create_zpos_property() function asks for an initial value, > and will set the associated plane state variable with that value if a > state is present. > > However, that function is usually called at

[PATCH v2 07/22] drm/object: Add default zpos value at reset

2022-02-21 Thread Maxime Ripard
From: Dave Stevenson The drm_plane_create_zpos_property() function asks for an initial value, and will set the associated plane state variable with that value if a state is present. However, that function is usually called at a time where there's no state yet. Since the drm_plane_state reset hel