diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c b/drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c index 16834f4b9156..c3707d47cd89 100644 --- a/drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c +++ b/drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c | |||
@@ -487,6 +487,7 @@ static void ade_crtc_enable(struct drm_crtc *crtc) | |||
487 | ade_set_medianoc_qos(acrtc); | 487 | ade_set_medianoc_qos(acrtc); |
488 | ade_display_enable(acrtc); | 488 | ade_display_enable(acrtc); |
489 | ade_dump_regs(ctx->base); | 489 | ade_dump_regs(ctx->base); |
490 | drm_crtc_vblank_on(crtc); | ||
490 | acrtc->enable = true; | 491 | acrtc->enable = true; |
491 | } | 492 | } |
492 | 493 | ||
@@ -498,6 +499,7 @@ static void ade_crtc_disable(struct drm_crtc *crtc) | |||
498 | if (!acrtc->enable) | 499 | if (!acrtc->enable) |
499 | return; | 500 | return; |
500 | 501 | ||
502 | drm_crtc_vblank_off(crtc); | ||
501 | ade_power_down(ctx); | 503 | ade_power_down(ctx); |
502 | acrtc->enable = false; | 504 | acrtc->enable = false; |
503 | } | 505 | } |