* [PATCH 1/2] drm/amdgpu: add initial GC 11.5.1 soc21 support
@ 2024-02-15 20:27 Alex Deucher
2024-02-15 20:27 ` [PATCH 2/2] drm/amdgpu: enable soc21 discovery support for GC 11.5.1 Alex Deucher
0 siblings, 1 reply; 2+ messages in thread
From: Alex Deucher @ 2024-02-15 20:27 UTC (permalink / raw)
To: amd-gfx; +Cc: Yifan Zhang, Alex Deucher
From: Yifan Zhang <yifan1.zhang@amd.com>
Disable clock gating and power gating for now.
v2: squash in revision fix (Alex)
Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
drivers/gpu/drm/amd/amdgpu/soc21.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/soc21.c b/drivers/gpu/drm/amd/amdgpu/soc21.c
index 5f81c264e310..71b3a0688555 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc21.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc21.c
@@ -717,6 +717,11 @@ static int soc21_common_early_init(void *handle)
AMD_PG_SUPPORT_GFX_PG;
adev->external_rev_id = adev->rev_id + 0x1;
break;
+ case IP_VERSION(11, 5, 1):
+ adev->cg_flags = 0;
+ adev->pg_flags = 0;
+ adev->external_rev_id = adev->rev_id + 0xc1;
+ break;
default:
/* FIXME: not supported yet */
return -EINVAL;
--
2.42.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH 2/2] drm/amdgpu: enable soc21 discovery support for GC 11.5.1
2024-02-15 20:27 [PATCH 1/2] drm/amdgpu: add initial GC 11.5.1 soc21 support Alex Deucher
@ 2024-02-15 20:27 ` Alex Deucher
0 siblings, 0 replies; 2+ messages in thread
From: Alex Deucher @ 2024-02-15 20:27 UTC (permalink / raw)
To: amd-gfx; +Cc: Yifan Zhang, Alex Deucher
From: Yifan Zhang <yifan1.zhang@amd.com>
This patch to enable soc21 support for GC 11.5.1
Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
index ace5e924f279..6a63145beaf2 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
@@ -1683,6 +1683,7 @@ static int amdgpu_discovery_set_common_ip_blocks(struct amdgpu_device *adev)
case IP_VERSION(11, 0, 3):
case IP_VERSION(11, 0, 4):
case IP_VERSION(11, 5, 0):
+ case IP_VERSION(11, 5, 1):
amdgpu_device_ip_block_add(adev, &soc21_common_ip_block);
break;
default:
--
2.42.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-15 20:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-15 20:27 [PATCH 1/2] drm/amdgpu: add initial GC 11.5.1 soc21 support Alex Deucher
2024-02-15 20:27 ` [PATCH 2/2] drm/amdgpu: enable soc21 discovery support for GC 11.5.1 Alex Deucher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox