]> git.baikalelectronics.ru Git - kernel.git/commit
drm/rockchip: vop: add rk3188 hs_start interrupt as dsp_hold equivalent
authorHeiko Stuebner <heiko@sntech.de>
Sun, 23 Sep 2018 12:37:30 +0000 (14:37 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 27 Sep 2018 09:39:32 +0000 (11:39 +0200)
commitd5d66d557d42b9c9a2381c6ba6a4fdf03fafb579
treef3e7b0e2a673d9ccf53259c318e191df9f40bea7
parent905a18b9ad57b0bc260c0b1f37d79f9e3dcdf2a2
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: 942a3537e79b ("drm/rockchip: vop: add rk3188 vop definitions")
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Sandy Huang <hjc@rock-chips.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180923123730.14706-1-heiko@sntech.de
drivers/gpu/drm/rockchip/rockchip_vop_reg.c