projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50e9f54
)
drm/amdgpu: add soc21 common ip block support for GC 11.0.1
author
Huang Rui
<ray.huang@amd.com>
Mon, 2 Aug 2021 02:15:39 +0000
(10:15 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Fri, 6 May 2022 14:36:14 +0000
(10:36 -0400)
Add common soc21 ip block support for GC 11.0.1.
Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Aaron Liu <aaron.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc21.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/soc21.c
b/drivers/gpu/drm/amd/amdgpu/soc21.c
index 9424020c0634f885fb3fb87b8d9966bba431dc30..cfe5d12b180beb041e8ffa7f7e2d0598c1dcb807 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/soc21.c
+++ b/
drivers/gpu/drm/amd/amdgpu/soc21.c
@@
-564,6
+564,11
@@
static int soc21_common_early_init(void *handle)
AMD_PG_SUPPORT_MMHUB;
adev->external_rev_id = adev->rev_id + 0x10;
break;
+ case IP_VERSION(11, 0, 1):
+ adev->cg_flags = 0;
+ adev->pg_flags = 0;
+ adev->external_rev_id = adev->rev_id + 0x1;
+ break;
default:
/* FIXME: not supported yet */
return -EINVAL;