Re: [PATCH 70/70] drm/crtc: Remove reset
Dmitry Baryshkov <[email protected]>
| Newsgroups | org.freedesktop.lists.dri-devel |
|---|---|
| Message-ID | <yjm52tuppz73qhmqvlbod6s2zxkmtjutmazgkwqg6oolrn7mqg@owea27yrpg5v> |
On Fri, Aug 21, 2026 at 04:39:46PM +0200, Maxime Ripard wrote: > All crtc drivers now implement the atomic_create_state hook instead of > the reset hook for initial state creation. The reset hook conflated > initial state allocation at probe time with hardware and software reset > during suspend/resume, making error handling difficult since it is not > fallible. > > Remove the reset hook from struct drm_crtc_funcs and the associated > call in drm_mode_config_reset(). > > Signed-off-by: Maxime Ripard <[email protected]> > --- > drivers/gpu/drm/drm_mode_config.c | 4 +--- > include/drm/drm_crtc.h | 10 ---------- > 2 files changed, 1 insertion(+), 13 deletions(-) > Reviewed-by: Dmitry Baryshkov <[email protected]> -- With best wishes Dmitry