amd: add more gfx11 APUs
Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29313>
This commit is contained in:
@@ -104,6 +104,8 @@
|
||||
#define AMDGPU_GFX1151_RANGE 0xC0, 0xFF //# 192 <= x < 255
|
||||
#define AMDGPU_GFX1103_R1_RANGE 0x01, 0x80 //# 1 <= x < 128
|
||||
#define AMDGPU_GFX1103_R2_RANGE 0x80, 0xC0 //# 128 <= x < 192
|
||||
#define AMDGPU_GFX1103_R1X_RANGE 0xC0, 0xF0 //# 192 <= x < 240
|
||||
#define AMDGPU_GFX1103_R2X_RANGE 0xF0, 0xFF //# 240 <= x < 255
|
||||
|
||||
#define AMDGPU_REMBRANDT_RANGE 0x01, 0xFF //# 01 <= x < 255
|
||||
#define AMDGPU_RAPHAEL_RANGE 0x01, 0xFF //# 1 <= x < max
|
||||
@@ -179,6 +181,8 @@
|
||||
#define ASICREV_IS_GFX1151(r) ASICREV_IS(r, GFX1151)
|
||||
#define ASICREV_IS_GFX1103_R1(r) ASICREV_IS(r, GFX1103_R1)
|
||||
#define ASICREV_IS_GFX1103_R2(r) ASICREV_IS(r, GFX1103_R2)
|
||||
#define ASICREV_IS_GFX1103_R1X(r) ASICREV_IS(r, GFX1103_R1X)
|
||||
#define ASICREV_IS_GFX1103_R2X(r) ASICREV_IS(r, GFX1103_R2X)
|
||||
|
||||
#define ASICREV_IS_REMBRANDT(r) ASICREV_IS(r, REMBRANDT)
|
||||
#define ASICREV_IS_RAPHAEL(r) ASICREV_IS(r, RAPHAEL)
|
||||
|
||||
@@ -895,6 +895,8 @@ bool ac_query_gpu_info(int fd, void *dev_p, struct radeon_info *info,
|
||||
case FAMILY_GFX1103:
|
||||
identify_chip(GFX1103_R1);
|
||||
identify_chip(GFX1103_R2);
|
||||
identify_chip2(GFX1103_R1X, GFX1103_R1);
|
||||
identify_chip2(GFX1103_R2X, GFX1103_R2);
|
||||
break;
|
||||
case FAMILY_GFX1150:
|
||||
identify_chip(GFX1150);
|
||||
|
||||
Reference in New Issue
Block a user