aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Wang <[email protected]>2019-05-14 14:01:01 +0800
committerAlex Deucher <[email protected]>2019-06-21 18:59:31 -0500
commitc0b9d6d2f1c20c4360589a3321b626272d787bde (patch)
tree7cf587617ff4fc6d18636a5ace4f49c37f6084e5
parent462a70d87e257aa26a528b210775fa58f5417e0a (diff)
drm/amd/powerplay: add sclk sysfs interface support for navi10
miss sclk support in force_clk_levels function Signed-off-by: Kevin Wang <[email protected]> Reviewed-by: Xiaojie Yuan <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r--drivers/gpu/drm/amd/powerplay/navi10_ppt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/navi10_ppt.c b/drivers/gpu/drm/amd/powerplay/navi10_ppt.c
index 071bfe32035b..b7f5a94e3833 100644
--- a/drivers/gpu/drm/amd/powerplay/navi10_ppt.c
+++ b/drivers/gpu/drm/amd/powerplay/navi10_ppt.c
@@ -648,6 +648,7 @@ static int navi10_force_clk_levels(struct smu_context *smu,
switch (clk_type) {
case SMU_GFXCLK:
+ case SMU_SCLK:
case SMU_SOCCLK:
case SMU_MCLK:
case SMU_UCLK: