From: Tim Huang <tim.huang@amd.com>
To: <igt-dev@lists.freedesktop.org>
Cc: <vitaly.prosyak@amd.com>, <alexander.deucher@amd.com>,
<jie1zhan@amd.com>, Tim Huang <tim.huang@amd.com>
Subject: [PATCH i-g-t 2/2] lib/amdgpu: add GFX1152 to GFX1150 family
Date: Wed, 7 Aug 2024 14:33:51 +0800 [thread overview]
Message-ID: <20240807063351.727312-2-tim.huang@amd.com> (raw)
In-Reply-To: <20240807063351.727312-1-tim.huang@amd.com>
Add GFX1152 to the amdgpu supported chip list.
Signed-off-by: Tim Huang <tim.huang@amd.com>
Reviewed-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
---
lib/amdgpu/amd_family.h | 1 +
lib/amdgpu/amd_ip_blocks.c | 1 +
lib/amdgpu/amdgpu_asic_addr.h | 2 ++
3 files changed, 4 insertions(+)
diff --git a/lib/amdgpu/amd_family.h b/lib/amdgpu/amd_family.h
index 4a5731dbf..54b0ae1d8 100644
--- a/lib/amdgpu/amd_family.h
+++ b/lib/amdgpu/amd_family.h
@@ -106,6 +106,7 @@ enum radeon_family {
CHIP_GFX1103_R2,
CHIP_GFX1150,
CHIP_GFX1151,
+ CHIP_GFX1152,
CHIP_GFX1200,
CHIP_LAST,
};
diff --git a/lib/amdgpu/amd_ip_blocks.c b/lib/amdgpu/amd_ip_blocks.c
index f675b97dd..131251615 100644
--- a/lib/amdgpu/amd_ip_blocks.c
+++ b/lib/amdgpu/amd_ip_blocks.c
@@ -735,6 +735,7 @@ int setup_amdgpu_ip_blocks(uint32_t major, uint32_t minor, struct amdgpu_gpu_inf
case FAMILY_GFX1150:
identify_chip(GFX1150);
identify_chip(GFX1151);
+ identify_chip(GFX1152);
break;
case FAMILY_GFX1200:
identify_chip(GFX1200);
diff --git a/lib/amdgpu/amdgpu_asic_addr.h b/lib/amdgpu/amdgpu_asic_addr.h
index 3829b0306..d5579ce4c 100644
--- a/lib/amdgpu/amdgpu_asic_addr.h
+++ b/lib/amdgpu/amdgpu_asic_addr.h
@@ -109,6 +109,7 @@
#define AMDGPU_GFX1103_R2_RANGE 0x80, 0xFF //# 128 <= x < max
#define AMDGPU_GFX1150_RANGE 0x01, 0x40 //# 01 <= x < 64
#define AMDGPU_GFX1151_RANGE 0xc0, 0xFF //# 192 <= x < 255
+#define AMDGPU_GFX1152_RANGE 0x40, 0x50 //# 64 <= x < 80
#define AMDGPU_GFX1200_RANGE 0x01, 0xFF //# 01 <= x < 255
#define AMDGPU_EXPAND_FIX(x) x
@@ -175,6 +176,7 @@
#define ASICREV_IS_GFX1103_R2(r) ASICREV_IS(r, GFX1103_R2)
#define ASICREV_IS_GFX1150(r) ASICREV_IS(r, GFX1150)
#define ASICREV_IS_GFX1151(r) ASICREV_IS(r, GFX1151)
+#define ASICREV_IS_GFX1152(r) ASICREV_IS(r, GFX1152)
#define ASICREV_IS_GFX1200(r) ASICREV_IS(r, GFX1200)
#endif // _AMDGPU_ASIC_ADDR_H
--
2.43.0
next prev parent reply other threads:[~2024-08-07 6:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-07 6:33 [PATCH i-g-t 1/2] lib/amdgpu: correct the GFX1150 and GFX1151 IDs range Tim Huang
2024-08-07 6:33 ` Tim Huang [this message]
2024-08-07 8:51 ` ✓ CI.xeBAT: success for series starting with [i-g-t,1/2] " Patchwork
2024-08-07 8:52 ` ✗ Fi.CI.BAT: failure " Patchwork
2024-08-07 9:52 ` ✗ CI.xeFULL: " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240807063351.727312-2-tim.huang@amd.com \
--to=tim.huang@amd.com \
--cc=alexander.deucher@amd.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=jie1zhan@amd.com \
--cc=vitaly.prosyak@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox