Skip to content
Commit d3f15355 authored by Chun-Kuang Hu's avatar Chun-Kuang Hu Committed by Greg Kroah-Hartman
Browse files

drm/mediatek: Detect CMDQ execution timeout

[ Upstream commit eaf80126

 ]

CMDQ is used to update display register in vblank period, so
it should be execute in next 2 vblank. One vblank interrupt
before send message (occasionally) and one vblank interrupt
after cmdq done. If it fail to execute in next 3 vblank,
tiemout happen.

Signed-off-by: default avatarChun-Kuang Hu <chunkuang.hu@kernel.org>
Signed-off-by: default avatarjason-jh.lin <jason-jh.lin@mediatek.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 6f77386d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment