[PATCH i-g-t 1/2] lib/amdgpu: correct the GFX1150 and GFX1151 IDs range
Tim Huang
tim.huang at amd.com
Wed Aug 7 06:33:50 UTC 2024
GFX1150 IDs range from 01 to 64 and GFX1151 IDs
range from 192 to 255.
Signed-off-by: Tim Huang <tim.huang at amd.com>
Reviewed-by: Vitaly Prosyak <vitaly.prosyak at amd.com>
---
lib/amdgpu/amdgpu_asic_addr.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/amdgpu/amdgpu_asic_addr.h b/lib/amdgpu/amdgpu_asic_addr.h
index 0ecb0b803..3829b0306 100644
--- a/lib/amdgpu/amdgpu_asic_addr.h
+++ b/lib/amdgpu/amdgpu_asic_addr.h
@@ -107,8 +107,8 @@
#define AMDGPU_GFX1102_RANGE 0x10, 0x20 //# 16 <= x < 32
#define AMDGPU_GFX1103_R1_RANGE 0x01, 0x80 //# 1 <= x < 128
#define AMDGPU_GFX1103_R2_RANGE 0x80, 0xFF //# 128 <= x < max
-#define AMDGPU_GFX1150_RANGE 0x01, 0xc0 //# 01 <= x < c0
-#define AMDGPU_GFX1151_RANGE 0xc1, 0xFF //# c1 <= x < 255
+#define AMDGPU_GFX1150_RANGE 0x01, 0x40 //# 01 <= x < 64
+#define AMDGPU_GFX1151_RANGE 0xc0, 0xFF //# 192 <= x < 255
#define AMDGPU_GFX1200_RANGE 0x01, 0xFF //# 01 <= x < 255
#define AMDGPU_EXPAND_FIX(x) x
--
2.43.0
More information about the igt-dev
mailing list