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:
226e4ca
)
drm/amdgpu/discovery: Set GC family for GC 12.0 IP
author
Likun Gao
<Likun.Gao@amd.com>
Mon, 13 Feb 2023 10:35:48 +0000
(18:35 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Thu, 2 May 2024 20:18:09 +0000
(16:18 -0400)
Set GC family for GC 12.0 IPs.
v2: squash in updates (Alex)
Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
index
5b17ff5
..
7ef760d
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
@@
-2518,6
+2518,10
@@
int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev)
case IP_VERSION(11, 5, 1):
adev->family = AMDGPU_FAMILY_GC_11_5_0;
break;
+ case IP_VERSION(12, 0, 0):
+ case IP_VERSION(12, 0, 1):
+ adev->family = AMDGPU_FAMILY_GC_12_0_0;
+ break;
default:
return -EINVAL;
}