linux_dsm_epyc7002/drivers/gpu/drm/amd/powerplay/hwmgr
zhengbin 4bf321c177 drm/amd/powerplay: remove set but not used variable 'data'
Fixes gcc '-Wunused-but-set-variable' warning:

drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c: In function vega10_get_performance_level:
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c:5217:23: warning: variable data set but not used [-Wunused-but-set-variable]

'data' is introduced by commit f688b614b6 ("drm/amd/pp:
Implement get_performance_level for legacy dgpu"), but never used,
so remove it.

Reviewed-by: Evan Quan <evan.quan@amd.com>
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-11-13 15:29:45 -05:00
..
ci_baco.c drm/amdgpu/powerplay: split out common smu7 BACO code 2019-10-15 15:55:31 -04:00
ci_baco.h drm/amdgpu/powerplay: split out common smu7 BACO code 2019-10-15 15:55:31 -04:00
common_baco.c drm/amdgpu/powerplay: add core support for pre-SOC15 baco 2019-10-15 15:55:31 -04:00
common_baco.h drm/amdgpu/powerplay: add core support for pre-SOC15 baco 2019-10-15 15:55:31 -04:00
fiji_baco.c drm/amdgpu/powerplay: split out common smu7 BACO code 2019-10-15 15:55:31 -04:00
fiji_baco.h drm/amdgpu/powerplay: split out common smu7 BACO code 2019-10-15 15:55:31 -04:00
hardwaremanager.c drm/amd/powerplay: support temperature emergency max values 2019-05-24 12:20:47 -05:00
hwmgr_ppt.h
hwmgr.c drm/amdgpu: Don't skip display settings in hwmgr_resume() 2019-06-28 09:08:42 -05:00
Makefile drm/amdgpu/powerplay: split out common smu7 BACO code 2019-10-15 15:55:31 -04:00
polaris_baco.c drm/amdgpu/powerplay: split out common smu7 BACO code 2019-10-15 15:55:31 -04:00
polaris_baco.h drm/amdgpu/powerplay: split out common smu7 BACO code 2019-10-15 15:55:31 -04:00
pp_overdriver.c
pp_overdriver.h
pp_psm.c drm/amd/powerplay: need to reapply the dpm level settings 2019-02-27 22:19:29 -05:00
pp_psm.h drm/amd/powerplay: enforce display related settings only on needed 2019-01-25 16:15:35 -05:00
ppatomctrl.c drm/amdgpu/pp: fix endian swapping in atomctrl_get_voltage_range 2018-07-05 16:39:51 -05:00
ppatomctrl.h drm/amd/powerplay: update ppatomctrl.c (v2) 2018-05-15 13:44:03 -05:00
ppatomfwctrl.c drm/amd/powerplay: set default fclk for no fclk dpm support case 2019-02-27 22:20:16 -05:00
ppatomfwctrl.h drm/amd/powerplay: set default fclk for no fclk dpm support case 2019-02-27 22:20:16 -05:00
ppevvmath.h
pppcielanes.c
pppcielanes.h
pptable_v1_0.h
process_pptables_v1_0.c drm/amdgpu: remove memset after kzalloc 2019-07-16 13:09:05 -05:00
process_pptables_v1_0.h
processpptables.c drm/amdgpu: simplify Raven, Raven2, and Picasso handling 2018-09-14 09:38:03 -05:00
processpptables.h
smu7_baco.c drm/amdgpu/powerplay: split out common smu7 BACO code 2019-10-15 15:55:31 -04:00
smu7_baco.h drm/amdgpu/powerplay: split out common smu7 BACO code 2019-10-15 15:55:31 -04:00
smu7_clockpowergating.c drm/amd/pp: Rename enable_per_cu_power_gating to powergate_gfx 2018-07-05 16:38:48 -05:00
smu7_clockpowergating.h drm/amd/pp: Rename enable_per_cu_power_gating to powergate_gfx 2018-07-05 16:38:48 -05:00
smu7_dyn_defaults.h
smu7_hwmgr.c drm/amd/powerplay: remove set but not used variable 'vbios_version', 'data' 2019-11-13 15:29:45 -05:00
smu7_hwmgr.h drm/amdgpu/powerplay: check vrefresh when when changing displays 2018-08-27 11:10:12 -05:00
smu7_powertune.c drm/amdgpu: fix several indentation issues 2019-02-13 17:51:37 -05:00
smu7_powertune.h
smu7_thermal.c drm/amd/pp: Avoid divide-by-zero in fan_ctrl_set_fan_speed_rpm 2018-10-09 17:00:25 -05:00
smu7_thermal.h
smu8_hwmgr.c drm/amd/powerplay/smu8_hwmgr: use struct_size() in kzalloc() 2019-02-19 15:58:27 -05:00
smu8_hwmgr.h
smu9_baco.c drm/amdgpu/powerplay: split out common smu9 BACO code 2019-03-05 15:09:33 -05:00
smu9_baco.h drm/amdgpu/powerplay: split out common smu9 BACO code 2019-03-05 15:09:33 -05:00
smu10_hwmgr.c drm/amd/powerpay: Implement mode2 reset callback for SMU10 2019-08-15 11:00:22 -05:00
smu10_hwmgr.h drm/amd/pp: Use dynamic gfx_clk rather than hardcoded values 2018-05-15 13:43:47 -05:00
smu10_inc.h
smu_helper.c drm/amd: drop use of drmP.h in atom.h 2019-06-10 23:00:01 +02:00
smu_helper.h drm/amdgpu/powerplay: factor out some pptable helpers 2018-10-10 14:49:44 -05:00
tonga_baco.c drm/amdgpu/powerplay: split out common smu7 BACO code 2019-10-15 15:55:31 -04:00
tonga_baco.h drm/amdgpu/powerplay: split out common smu7 BACO code 2019-10-15 15:55:31 -04:00
vega10_baco.c drm/amdgpu/powerplay: split out common smu9 BACO code 2019-03-05 15:09:33 -05:00
vega10_baco.h drm/amdgpu/powerplay: split out common smu9 BACO code 2019-03-05 15:09:33 -05:00
vega10_hwmgr.c drm/amd/powerplay: remove set but not used variable 'data' 2019-11-13 15:29:45 -05:00
vega10_hwmgr.h drm/amd/powerplay: support Vega10 SOCclk and DCEFclk dpm level settings 2019-01-25 16:15:37 -05:00
vega10_inc.h
vega10_powertune.c drm/amdgpu: abstract the function of enter/exit safe mode for RLC 2018-11-09 16:29:12 -05:00
vega10_powertune.h
vega10_pptable.h drm/amd/powerplay: support Vega10 fan table V3 2019-01-25 16:15:36 -05:00
vega10_processpptables.c drm-misc-next for v5.3: 2019-06-14 11:44:24 +02:00
vega10_processpptables.h drm/amdgpu: Need to set the baco cap before baco reset 2019-05-28 14:47:42 -05:00
vega10_thermal.c drm/amd/powerplay: enable MGPU fan boost feature on Vega10 2019-01-25 16:15:36 -05:00
vega10_thermal.h drm/amd/powerplay: enable MGPU fan boost feature on Vega10 2019-01-25 16:15:36 -05:00
vega12_baco.c drm/amdgpu/powerplay: split out common smu9 BACO code 2019-03-05 15:09:33 -05:00
vega12_baco.h drm/amdgpu/powerplay: split out common smu9 BACO code 2019-03-05 15:09:33 -05:00
vega12_hwmgr.c drm/amdgpu/powerplay: add set_mp1_state for vega12 2019-07-30 23:24:41 -05:00
vega12_hwmgr.h drm/amd/powerplay: support SMU metrics table on Vega12 2019-05-24 12:20:47 -05:00
vega12_inc.h drm/amdgpu/powerplay: add BACO support for vega12 2019-03-05 15:09:33 -05:00
vega12_pptable.h
vega12_processpptables.c drm/amdgpu/powerplay: factor out some pptable helpers 2018-10-10 14:49:44 -05:00
vega12_processpptables.h
vega12_thermal.c drm/amdgpu/pp: split out common smumgr smu9 code 2018-07-16 11:39:22 -05:00
vega12_thermal.h
vega20_baco.c drm/amd/powerplay: send EnterBaco msg with argument as RAS recovery flag 2019-10-15 15:49:29 -04:00
vega20_baco.h drm/amd/powerplay: apply Vega20 BACO workaround 2019-03-19 15:36:49 -05:00
vega20_hwmgr.c drm/amd/powerplay: support xgmi pstate setting on powerplay routine V2 2019-11-06 16:27:46 -05:00
vega20_hwmgr.h Linux 5.1-rc5 2019-04-15 15:51:49 +10:00
vega20_inc.h drm/amdgpu: also include NBIO v7.4 register mask header 2019-01-25 16:15:33 -05:00
vega20_powertune.c drm/amd/powerplay: add the hw manager for vega20 (v3) 2018-08-27 11:10:27 -05:00
vega20_powertune.h drm/amd/powerplay: add the hw manager for vega20 (v3) 2018-08-27 11:10:27 -05:00
vega20_pptable.h drm/amd/powerplay: update OD feature judgement 2018-09-19 12:37:48 -05:00
vega20_processpptables.c drm/amd/powerplay: set max fan target temperature as 105C 2019-03-11 14:28:43 -05:00
vega20_processpptables.h drm/amd/powerplay: add the hw manager for vega20 (v3) 2018-08-27 11:10:27 -05:00
vega20_thermal.c drm/amd/powerplay/vega20: enable fan RPM and pwm settings V2 2018-10-09 16:45:58 -05:00
vega20_thermal.h drm/amd/powerplay/vega20: enable fan RPM and pwm settings V2 2018-10-09 16:45:58 -05:00