drm/adp: Switch to drm_atomic_helper_connector_create_state

The adp connector implementation uses the deprecated
drm_atomic_helper_connector_reset() as its reset hook.

Switch to drm_atomic_helper_connector_create_state() instead.

Acked-by: Aditya Garg <aditya.garg@linux.dev>
Link: https://lore.kernel.org/r/20261014-drm-no-more-connector-reset-v1-2-586c9c026823@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
This commit is contained in:
Maxime Ripard 2026-10-14 19:26:25 +02:00
parent 8b32d0652d
commit db1de27aca
No known key found for this signature in database
GPG Key ID: 275FCE19A23DBE76

View File

@ -590,7 +590,7 @@ static const struct drm_mode_config_funcs appletbdrm_mode_config_funcs = {
};
static const struct drm_connector_funcs appletbdrm_connector_funcs = {
.reset = drm_atomic_helper_connector_reset,
.atomic_create_state = drm_atomic_helper_connector_create_state,
.destroy = drm_connector_cleanup,
.fill_modes = drm_helper_probe_single_connector_modes,
.atomic_destroy_state = drm_atomic_helper_connector_destroy_state,