projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1763cb6
)
drm/amdgpu: add soc21 common ip block support for GC 11.0.4
author
Yifan Zhang
<yifan1.zhang@amd.com>
Wed, 12 Oct 2022 04:54:52 +0000
(12:54 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Tue, 29 Nov 2022 16:03:36 +0000
(11:03 -0500)
Add common soc21 ip block support for GC 11.0.4.
Signed-off-by: Yifan Zhang <yifan1.zhang@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 b258e9aa0558abc42fffc2b83ab23261fde9fa75..69dac2aa815156803b6b66ee7b534ed1c60af6b7 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/soc21.c
+++ b/
drivers/gpu/drm/amd/amdgpu/soc21.c
@@
-644,6
+644,12
@@
static int soc21_common_early_init(void *handle)
AMD_PG_SUPPORT_JPEG;
adev->external_rev_id = adev->rev_id + 0x20;
break;
+ case IP_VERSION(11, 0, 4):
+ adev->cg_flags = 0;
+ adev->pg_flags = 0;
+ adev->external_rev_id = adev->rev_id + 0x1;
+ break;
+
default:
/* FIXME: not supported yet */
return -EINVAL;