On Wed, Oct 14, 2026 at 07:26:47PM +0200, Maxime Ripard wrote: > The hyperv connector implementation uses the deprecated > drm_atomic_helper_connector_reset() as its reset hook. > > Switch to drm_atomic_helper_connector_create_state() instead. > > Signed-off-by: Maxime Ripard <[email protected]> > --- > Cc: Dexuan Cui <[email protected]> > Cc: Long Li <[email protected]> > Cc: Saurabh Sengar <[email protected]> > Cc: [email protected] > --- > drivers/gpu/drm/hyperv/hyperv_drm_modeset.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/hyperv/hyperv_drm_modeset.c > b/drivers/gpu/drm/hyperv/hyperv_drm_modeset.c > index 523d1c7ea072..da399cb951a5 100644 > --- a/drivers/gpu/drm/hyperv/hyperv_drm_modeset.c > +++ b/drivers/gpu/drm/hyperv/hyperv_drm_modeset.c > @@ -64,11 +64,11 @@ static const struct drm_connector_helper_funcs > hv_drm_connector_helper_funcs = { > }; > > static const struct drm_connector_funcs hv_drm_connector_funcs = { > .fill_modes = drm_helper_probe_single_connector_modes, > .destroy = drm_connector_cleanup, > - .reset = drm_atomic_helper_connector_reset, > + .atomic_create_state = drm_atomic_helper_connector_create_state, > .atomic_duplicate_state = drm_atomic_helper_connector_duplicate_state, > .atomic_destroy_state = drm_atomic_helper_connector_destroy_state, > }; > > static inline int hv_drm_conn_init(struct hv_drm_device *hv) > > -- > 2.55.0
Reviewed-by: Saurabh Sengar <[email protected]> Tested-by: Saurabh Sengar <[email protected]>
