aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorNils Wallménius <nils.wallmenius@gmail.com>2016-05-05 03:07:48 -0400
committerAlex Deucher <alexander.deucher@amd.com>2016-05-11 12:31:24 -0400
commit438498a862723b36369858611321478d8b444ee9 (patch)
tree1af454bf2b551a4ae4b1abb93afcab2423caaa3b /drivers/gpu/drm/amd/amdgpu
parent354ef928a0e67166249c0136cdba21fdfef31702 (diff)
drm/amdgpu: Drop unused parameter for *get_sleep_divider_id_from_clock
Signed-off-by: Nils Wallménius <nils.wallmenius@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/ci_dpm.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/ci_dpm.c b/drivers/gpu/drm/amd/amdgpu/ci_dpm.c
index b2c2f3761c68..31b38bd67215 100644
--- a/drivers/gpu/drm/amd/amdgpu/ci_dpm.c
+++ b/drivers/gpu/drm/amd/amdgpu/ci_dpm.c
@@ -2549,8 +2549,7 @@ static int ci_get_dependency_volt_by_clk(struct amdgpu_device *adev,
2549 return 0; 2549 return 0;
2550} 2550}
2551 2551
2552static u8 ci_get_sleep_divider_id_from_clock(struct amdgpu_device *adev, 2552static u8 ci_get_sleep_divider_id_from_clock(u32 sclk, u32 min_sclk_in_sr)
2553 u32 sclk, u32 min_sclk_in_sr)
2554{ 2553{
2555 u32 i; 2554 u32 i;
2556 u32 tmp; 2555 u32 tmp;
@@ -3357,8 +3356,7 @@ static int ci_populate_single_graphic_level(struct amdgpu_device *adev,
3357 graphic_level->PowerThrottle = 0; 3356 graphic_level->PowerThrottle = 0;
3358 3357
3359 if (pi->caps_sclk_ds) 3358 if (pi->caps_sclk_ds)
3360 graphic_level->DeepSleepDivId = ci_get_sleep_divider_id_from_clock(adev, 3359 graphic_level->DeepSleepDivId = ci_get_sleep_divider_id_from_clock(engine_clock,
3361 engine_clock,
3362 CISLAND_MINIMUM_ENGINE_CLOCK); 3360 CISLAND_MINIMUM_ENGINE_CLOCK);
3363 3361
3364 graphic_level->DisplayWatermark = PPSMC_DISPLAY_WATERMARK_LOW; 3362 graphic_level->DisplayWatermark = PPSMC_DISPLAY_WATERMARK_LOW;