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:
358ab97
)
drm/amdgpu/mmhub2: set clock gating for navi12
author
Xiaojie Yuan
<xiaojie.yuan@amd.com>
Thu, 1 Aug 2019 07:47:15 +0000
(15:47 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Mon, 12 Aug 2019 17:47:47 +0000
(12:47 -0500)
add navi12 define
Signed-off-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c
b/drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c
index
d2f4775
..
8ee1225
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c
+++ b/
drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c
@@
-407,6
+407,7
@@
int mmhub_v2_0_set_clockgating(struct amdgpu_device *adev,
switch (adev->asic_type) {
case CHIP_NAVI10:
case CHIP_NAVI14:
+ case CHIP_NAVI12:
mmhub_v2_0_update_medium_grain_clock_gating(adev,
state == AMD_CG_STATE_GATE ? true : false);
mmhub_v2_0_update_medium_grain_light_sleep(adev,