projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5211c37
)
drm/amdgpu/sdma5: set sdma clock gating for navi12
author
Xiaojie Yuan
<xiaojie.yuan@amd.com>
Tue, 30 Jul 2019 04:16:02 +0000
(12:16 +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/sdma_v5_0.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c
b/drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c
index
3e18015
..
9c971da
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c
+++ b/
drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c
@@
-1516,6
+1516,7
@@
static int sdma_v5_0_set_clockgating_state(void *handle,
switch (adev->asic_type) {
case CHIP_NAVI10:
case CHIP_NAVI14:
+ case CHIP_NAVI12:
sdma_v5_0_update_medium_grain_clock_gating(adev,
state == AMD_CG_STATE_GATE ? true : false);
sdma_v5_0_update_medium_grain_light_sleep(adev,