drm/xen: Switch to drm_atomic_helper_crtc_create_state

The xen crtc implementation uses the deprecated
drm_atomic_helper_crtc_reset() as its reset hook.

Switch to drm_atomic_helper_crtc_create_state() instead.

Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patch.msgid.link/20260915-drm-no-more-crtc-reset-v5-8-bda007735748@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
This commit is contained in:
Maxime Ripard 2026-09-15 16:24:49 +02:00
parent bfcf0fec17
commit c4967fd8b4
No known key found for this signature in database
GPG Key ID: 275FCE19A23DBE76

View File

@ -358,7 +358,7 @@ static const struct drm_crtc_helper_funcs display_crtc_helper_funcs = {
};
static const struct drm_crtc_funcs display_crtc_funcs = {
.reset = drm_atomic_helper_crtc_reset,
.atomic_create_state = drm_atomic_helper_crtc_create_state,
.destroy = drm_crtc_cleanup,
.set_config = drm_atomic_helper_set_config,
.page_flip = drm_atomic_helper_page_flip,