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)
commit2fc8a92e0a22c483e749232d4f13c77a92139aa7
tree19852f42623137143da98e34e66248fa1e5b4119
parent0ba17e7a5548af3a943679c8b6c4582f9fc4a537
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