drm/msm: fix a6xx_gmu_clear_oob
Subsystems (4)
PATCH 1/1 drm/msm: fix a6xx_gmu_clear_oob
The cleanup patch broke a6xx_gmu_clear_oob, fix it by adding the missing bitshift operation.
--- drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/msm/adreno/a6xx_gmu.c +1 -1
@@ -339,7 +339,7 @@ void a6xx_gmu_clear_oob(struct a6xx_gmu *gmu, enum a6xx_gmu_oob_state state)else bit = a6xx_gmu_oob_bits[state].ack_new; -gmu_write (gmu,REG_A6XX_GMU_HOST2GMU_INTR_SET , bit); +gmu_write (gmu,REG_A6XX_GMU_HOST2GMU_INTR_SET ,1 << bit); }/* Enable CPU control of SPTP power power collapse */
Signature · 6 lines
2.26.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 5 lines · Jonathan Marek
The cleanup patch broke
a6xx_gmu_clear_oob, fix it by adding the missing bitshift operation.Fixes 555c50a4a19b ("drm/msm: Clean up GMU OOB set/clear handling")Signed-off-by Jonathan Marek <[email protected]>
Thanks. I feel silly that I missed that.
Quoted 20 lines
--- drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/msm/adreno/a6xx_gmu.c +1
-1@@ -339,7 +339,7 @@ void a6xx_gmu_clear_oob(struct a6xx_gmu *gmu, enum a6xx_gmu_oob_state state)else bit = a6xx_gmu_oob_bits[state].ack_new; -gmu_write (gmu,REG_A6XX_GMU_HOST2GMU_INTR_SET , bit); +gmu_write (gmu,REG_A6XX_GMU_HOST2GMU_INTR_SET ,1 << bit); }/* Enable CPU control of SPTP power power collapse */ Signature · 1 line
2.26.1
Signature · 6 lines
The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Eric Anholt
Reviewed-byQuoted 11 lines · Jordan Crouse
Quoted 5 lines · Jonathan Marek
The cleanup patch broke
a6xx_gmu_clear_oob, fix it by adding the missing bitshift operation.Fixes 555c50a4a19b ("drm/msm: Clean up GMU OOB set/clear handling")Signed-off-by Jonathan Marek <[email protected]>Thanks. I feel silly that I missed that.
Reviewed-by Jordan Crouse <[email protected]>
Yeah, oops.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
This patch was applied to qcom/linux.git (refs/heads/for-next):
Hello:
This patch was applied to qcom/linux.git (refs/heads/for-next):
Quoted 8 lines · On Mon, 8 Feb 2021 13:55:54 -0500 you wrote:
The cleanup patch broke
a6xx_gmu_clear_oob, fix it by adding the missing bitshift operation.Fixes 555c50a4a19b ("drm/msm: Clean up GMU OOB set/clear handling")Signed-off-by Jonathan Marek <[email protected]>--- drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
- drm/msm: fix a6xx_gmu_clear_oob
https://git.kernel.org/qcom/c/65aee407a0f5
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html