projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d49f8ad
)
drm/amdgpu: update GFX CGCG/LS flags for gfx 12.1
author
Le Ma
<le.ma@amd.com>
Tue, 2 Dec 2025 11:46:36 +0000
(19:46 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Wed, 11 Mar 2026 17:58:08 +0000
(13:58 -0400)
Update GFX CGCG flags and fix num_xcc assignment
Signed-off-by: Le Ma <le.ma@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc_v1_0.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/soc_v1_0.c
b/drivers/gpu/drm/amd/amdgpu/soc_v1_0.c
index
43209ea
..
a0e10db
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/soc_v1_0.c
+++ b/
drivers/gpu/drm/amd/amdgpu/soc_v1_0.c
@@
-281,7
+281,8
@@
static int soc_v1_0_common_early_init(struct amdgpu_ip_block *ip_block)
switch (amdgpu_ip_version(adev, GC_HWIP, 0)) {
case IP_VERSION(12, 1, 0):
- adev->cg_flags = 0;
+ adev->cg_flags = AMD_CG_SUPPORT_GFX_CGCG |
+ AMD_CG_SUPPORT_GFX_CGLS;
adev->pg_flags = 0;
adev->external_rev_id = adev->rev_id + 0x50;
break;