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:
2c8a7ca
)
drm/amdgpu/soc21: add initial GC 11.5.0 soc21 support
author
Prike Liang
<Prike.Liang@amd.com>
Tue, 24 May 2022 08:22:21 +0000
(16:22 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Wed, 30 Aug 2023 19:00:18 +0000
(15:00 -0400)
Disable clock gating and power gating on the early bring up phase.
Signed-off-by: Prike Liang <Prike.Liang@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
40d2373
..
a920bcb
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/soc21.c
+++ b/
drivers/gpu/drm/amd/amdgpu/soc21.c
@@
-688,6
+688,12
@@
static int soc21_common_early_init(void *handle)
adev->external_rev_id = adev->rev_id + 0x80;
break;
+
+ case IP_VERSION(11, 5, 0):
+ adev->cg_flags = 0;
+ adev->pg_flags = 0;
+ adev->external_rev_id = adev->rev_id + 0x1;
+ break;
default:
/* FIXME: not supported yet */
return -EINVAL;