On Wed, Oct 08, 2025 at 02:04:01PM +0200, Maxime Ripard wrote: > Now that we have a reset 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 reset 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 | 24 ++++++++++++++++++++++++ > include/drm/drm_atomic_state_helper.h | 3 +++ > 2 files changed, 27 insertions(+) >
Reviewed-by: Dmitry Baryshkov <[email protected]> -- With best wishes Dmitry
