projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0effe4a
)
drm/amdgpu: add support for ATHUB 3.0.2
author
Flora Cui
<flora.cui@amd.com>
Fri, 15 Apr 2022 14:10:42 +0000
(10:10 -0400)
committer
Alex Deucher
<alexander.deucher@amd.com>
Thu, 5 May 2022 20:51:30 +0000
(16:51 -0400)
Add support 3.0.2 to the ATHUB 3.0 code.
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Flora Cui <flora.cui@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/athub_v3_0.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/athub_v3_0.c
b/drivers/gpu/drm/amd/amdgpu/athub_v3_0.c
index
eda07cf
..
33a8a73
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/athub_v3_0.c
+++ b/
drivers/gpu/drm/amd/amdgpu/athub_v3_0.c
@@
-70,6
+70,7
@@
int athub_v3_0_set_clockgating(struct amdgpu_device *adev,
switch (adev->ip_versions[ATHUB_HWIP][0]) {
case IP_VERSION(3, 0, 0):
+ case IP_VERSION(3, 0, 2):
athub_v3_0_update_medium_grain_clock_gating(adev,
state == AMD_CG_STATE_GATE);
athub_v3_0_update_medium_grain_light_sleep(adev,