drm/msm: Fix race of GPU init vs timestamp power management.
stable inclusion from stable-5.10.20 commit b605b8d568db0ede572de0c684a64f016e987d09 bugzilla: 50608 -------------------------------- [ Upstream commit 7a7cbf2a ] We were using the same force-poweron bit in the two codepaths, so they could race to have one of them lose GPU power early. freedreno CI was seeing intermittent errors like: [drm:_a6xx_gmu_set_oob] *ERROR* Timeout waiting for GMU OOB set GPU_SET: 0x0 and this issue could have contributed to it. Signed-off-by:Eric Anholt <eric@anholt.net> Fixes: 4b565ca5 ("drm/msm: Add A6XX device support") Reviewed-by:
Jordan Crouse <jcrouse@codeaurora.org> Signed-off-by:
Rob Clark <robdclark@chromium.org> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Chen Jun <chenjun102@huawei.com> Acked-by:
Xie XiuQi <xiexiuqi@huawei.com> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com>
Loading
Please sign in to comment