-
-
Save Sonicadvance1/2b89cc8cc950718fdb5cd8c12823add6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit ec05bab22dd806f64d1b13d52458b5284ce8e063 (HEAD) | |
Author: Steev Klimaszewski <steev@kali.org> | |
Date: Wed Mar 8 15:24:23 2023 -0600 | |
fixup! drm/msm/adreno: Add Adreno A690 support | |
Fix the register offset and size so fdperf works | |
diff --git a/drivers/gpu/drm/msm/adreno/a6xx_gpu.c b/drivers/gpu/drm/msm/adreno/a6xx_gpu.c | |
index cc0ac0b6da0f..47ce3217ffc8 100644 | |
--- a/drivers/gpu/drm/msm/adreno/a6xx_gpu.c | |
+++ b/drivers/gpu/drm/msm/adreno/a6xx_gpu.c | |
@@ -815,7 +815,7 @@ static const u32 a690_protect[] = { | |
A6XX_PROTECT_NORDWR(0x00800, 0x00082), | |
A6XX_PROTECT_NORDWR(0x008a0, 0x00008), | |
A6XX_PROTECT_NORDWR(0x008ab, 0x00024), | |
- A6XX_PROTECT_RDONLY(0x008d0, 0x000bc), | |
+ A6XX_PROTECT_RDONLY(0x008de, 0x000ae), | |
A6XX_PROTECT_NORDWR(0x00900, 0x0004d), | |
A6XX_PROTECT_NORDWR(0x0098d, 0x00272), | |
A6XX_PROTECT_NORDWR(0x00e00, 0x00001), | |
@@ -824,7 +824,7 @@ static const u32 a690_protect[] = { | |
A6XX_PROTECT_RDONLY(0x03cc4, 0x01fff), | |
A6XX_PROTECT_NORDWR(0x08630, 0x001cf), | |
A6XX_PROTECT_NORDWR(0x08e00, 0x00000), | |
- A6XX_PROTECT_NORDWR(0x08e08, 0x00008), | |
+ A6XX_PROTECT_NORDWR(0x08e08, 0x00000), | |
A6XX_PROTECT_NORDWR(0x08e50, 0x0001f), | |
A6XX_PROTECT_NORDWR(0x08e80, 0x0027f), | |
A6XX_PROTECT_NORDWR(0x09624, 0x001db), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment