[PATCH 11/70] drm/imx: dc: Switch to drm_atomic_helper_crtc_create_state
Maxime Ripard <[email protected]>
| Newsgroups | dev.linux.lists.imx,org.freedesktop.lists.dri-devel |
|---|---|
| Message-ID | <[email protected]> |
The imx dc 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: Fabio Estevam <[email protected]> Cc: Frank Li <[email protected]> Cc: Liu Ying <[email protected]> Cc: Pengutronix Kernel Team <[email protected]> Cc: Sascha Hauer <[email protected]> Cc: [email protected] --- drivers/gpu/drm/imx/dc/dc-crtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/imx/dc/dc-crtc.c b/drivers/gpu/drm/imx/dc/dc-crtc.c index 764510ff90a4..0d64186a9901 100644 --- a/drivers/gpu/drm/imx/dc/dc-crtc.c +++ b/drivers/gpu/drm/imx/dc/dc-crtc.c @@ -96,11 +96,11 @@ static void dc_crtc_disable_vblank(struct drm_crtc *crtc) /* nosync due to atomic context */ disable_irq_nosync(dc_crtc->irq_dec_framecomplete); } static const struct drm_crtc_funcs dc_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