Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4f297df8 authored by Heiko Stuebner's avatar Heiko Stuebner
Browse files

drm/rockchip: vop: add rk3188 hs_start interrupt as dsp_hold equivalent



The hs_start interrupt on rk3188 fires at the start of a new frame, so
serves essentially the same purpose as the dsp_hold_valid irq in checking
when the last frame got delivered when going to standby. So define it
to fix a hang on atomic_disable of the vop because the completion never
really completed before.

Fixes: 428e15cc ("drm/rockchip: vop: add rk3188 vop definitions")
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
Reviewed-by: default avatarSandy Huang <hjc@rock-chips.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180923123730.14706-1-heiko@sntech.de
parent 9cb5f487
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -361,7 +361,11 @@ static const struct vop_win_data rk3188_vop_win_data[] = {
};

static const int rk3188_vop_intrs[] = {
	0,
	/*
	 * hs_start interrupt fires at frame-start, so serves
	 * the same purpose as dsp_hold in the driver.
	 */
	DSP_HOLD_VALID_INTR,
	FS_INTR,
	LINE_FLAG_INTR,
	BUS_ERROR_INTR,