[PATCH 01/70] drm/adp: Switch to drm_atomic_helper_crtc_create_state
Maxime Ripard <[email protected]>
| Newsgroups | dev.linux.lists.asahi,org.freedesktop.lists.dri-devel |
|---|---|
| Message-ID | <[email protected]> |
The adp 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]> --- Cc: Janne Grunau <[email protected]> Cc: Sasha Finkelstein <[email protected]> Cc: [email protected] --- drivers/gpu/drm/adp/adp_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/adp/adp_drv.c b/drivers/gpu/drm/adp/adp_drv.c index ce9dd6222634..fdf0e6316175 100644 --- a/drivers/gpu/drm/adp/adp_drv.c +++ b/drivers/gpu/drm/adp/adp_drv.c @@ -349,11 +349,11 @@ static void adp_crtc_atomic_flush(struct drm_crtc *crtc, static const struct drm_crtc_funcs adp_crtc_funcs = { .destroy = drm_crtc_cleanup, .set_config = drm_atomic_helper_set_config, .page_flip = drm_atomic_helper_page_flip, - .reset = drm_atomic_helper_crtc_reset, + .atomic_create_state = drm_atomic_helper_crtc_create_state, .atomic_duplicate_state = drm_atomic_helper_crtc_duplicate_state, .atomic_destroy_state = drm_atomic_helper_crtc_destroy_state, .enable_vblank = adp_crtc_enable_vblank, .disable_vblank = adp_crtc_disable_vblank, }; -- 2.55.0