On Tue, Oct 14, 2025 at 11:31:48AM +0200, Maxime Ripard wrote: > Now that we have an atomic_create_state callback for drm_private_objs, > we can provide a helper for it. > > It's somewhat different from the other similar helpers though, because > we definitely expect drm_private_obj to be subclassed. It wouldn't make > sense for a driver to use it as-is. > > So we can't provide a straight implementation of the atomic_create_state > callback, but rather we provide the parts that will deal with the > drm_private_obj initialization, and we will leave the allocation and > initialization of the subclass to drivers. > > Signed-off-by: Maxime Ripard <[email protected]> > --- > drivers/gpu/drm/drm_atomic_state_helper.c | 22 ++++++++++++++++++++++ > include/drm/drm_atomic_state_helper.h | 3 +++ > 2 files changed, 25 insertions(+) >
Reviewed-by: Dmitry Baryshkov <[email protected]> -- With best wishes Dmitry
