]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/a6xx: Fix perfcounter oob timeout
authorAkhil P Oommen <akhilpo@codeaurora.org>
Mon, 5 Apr 2021 13:47:12 +0000 (19:17 +0530)
committerRob Clark <robdclark@chromium.org>
Wed, 7 Apr 2021 18:05:43 +0000 (11:05 -0700)
commit17e889467fb8826bfbd2600aa5c8347b2dda1e03
tree19852f42623137143da98e34e66248fa1e5b4119
parenta85439d3f5791866c3897b8979fd3719b5f8ed15
drm/msm/a6xx: Fix perfcounter oob timeout

We were not programing the correct bit while clearing the perfcounter oob.
So, clear it correctly using the new 'clear' bit. This fixes the below
error:

[drm:a6xx_gmu_set_oob] *ERROR* Timeout waiting for GMU OOB set PERFCOUNTER: 0x80000000

Signed-off-by: Akhil P Oommen <akhilpo@codeaurora.org>
Link: https://lore.kernel.org/r/1617630433-36506-1-git-send-email-akhilpo@codeaurora.org
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/adreno/a6xx_gmu.c