mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
drm/sysfb: Switch to drm_atomic_helper_connector_create_state
The sysfb connector implementation uses the deprecated drm_atomic_helper_connector_reset() as its reset hook. Switch to drm_atomic_helper_connector_create_state() instead. Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://lore.kernel.org/r/20261014-drm-no-more-connector-reset-v1-39-586c9c026823@kernel.org Signed-off-by: Maxime Ripard <mripard@kernel.org>
This commit is contained in:
parent
9ec42580cc
commit
af36b2313c
|
|
@ -194,7 +194,7 @@ int drm_sysfb_connector_helper_get_modes(struct drm_connector *connector);
|
|||
.get_modes = drm_sysfb_connector_helper_get_modes
|
||||
|
||||
#define DRM_SYSFB_CONNECTOR_FUNCS \
|
||||
.reset = drm_atomic_helper_connector_reset, \
|
||||
.atomic_create_state = drm_atomic_helper_connector_create_state, \
|
||||
.fill_modes = drm_helper_probe_single_connector_modes, \
|
||||
.atomic_duplicate_state = drm_atomic_helper_connector_duplicate_state, \
|
||||
.atomic_destroy_state = drm_atomic_helper_connector_destroy_state
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user