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

Switch to drm_atomic_helper_crtc_create_state() instead.

Signed-off-by: Maxime Ripard <[email protected]>
---
 drivers/gpu/drm/tve200/tve200_display.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/tve200/tve200_display.c 
b/drivers/gpu/drm/tve200/tve200_display.c
index beb3a5a63b5d..90771464ac12 100644
--- a/drivers/gpu/drm/tve200/tve200_display.c
+++ b/drivers/gpu/drm/tve200/tve200_display.c
@@ -373,11 +373,11 @@ static const struct drm_crtc_helper_funcs 
tve200_crtc_helper_funcs = {
        .atomic_disable = tve200_crtc_helper_atomic_disable,
        .atomic_flush   = tve200_crtc_helper_atomic_flush,
 };
 
 static const struct drm_crtc_funcs tve200_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,
        .atomic_duplicate_state = drm_atomic_helper_crtc_duplicate_state,
        .atomic_destroy_state   = drm_atomic_helper_crtc_destroy_state,

-- 
2.55.0

Reply via email to