Skip to content

Commit 855f652

Browse files
committed
Merge branch 'for-upstream/hdlcd' of git://linux-arm.org/linux-ld into drm-fixes
A late issue discovered by Russell King while testing his setup on Juno. * 'for-upstream/hdlcd' of git://linux-arm.org/linux-ld: drm/arm: hdlcd: fix plane base address update
2 parents 7ad54c9 + 7a79279 commit 855f652

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

drivers/gpu/drm/arm/hdlcd_crtc.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,15 +150,14 @@ static void hdlcd_crtc_enable(struct drm_crtc *crtc)
150150
clk_prepare_enable(hdlcd->clk);
151151
hdlcd_crtc_mode_set_nofb(crtc);
152152
hdlcd_write(hdlcd, HDLCD_REG_COMMAND, 1);
153+
drm_crtc_vblank_on(crtc);
153154
}
154155

155156
static void hdlcd_crtc_disable(struct drm_crtc *crtc)
156157
{
157158
struct hdlcd_drm_private *hdlcd = crtc_to_hdlcd_priv(crtc);
158159

159-
if (!crtc->state->active)
160-
return;
161-
160+
drm_crtc_vblank_off(crtc);
162161
hdlcd_write(hdlcd, HDLCD_REG_COMMAND, 0);
163162
clk_disable_unprepare(hdlcd->clk);
164163
}

0 commit comments

Comments
 (0)