linux/drivers/gpu/drm/amd/powerplay/inc
Baoyou Xie 356aee305a drm/amdgpu: change function declarations and add missing header dependencies
We get a few warnings when building kernel with W=1:
drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:38:6: warning: no previous prototype for 'amdgpu_atombios_crtc_overscan_setup' [-Wmissing-prototypes]
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c:661:6: warning: no previous prototype for 'dce_v8_0_disable_dce' [-Wmissing-prototypes]
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c:40:5: warning: no previous prototype for 'amdgpu_gfx_scratch_get' [-Wmissing-prototypes]
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c:62:6: warning: no previous prototype for 'amdgpu_gfx_scratch_free' [-Wmissing-prototypes]
....

In fact, these functions are declared in
drivers/gpu/drm/amd/amdgpu/atombios_crtc.h
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
drivers/gpu/drm/amd/amdgpu/dce_v8_0.h
drivers/gpu/drm/amd/amdgpu/dce_v10_0.h
drivers/gpu/drm/amd/amdgpu/dce_v11_0.h
drivers/gpu/drm/amd/powerplay/inc/pp_acpi.h.
So this patch adds missing header dependencies.

By the way, this patch changes declaration of amdgpu_gfx_parse_disable_cu()
to subject to its implement, and clean three function declarations
in pp_acpi.h up.

Acked-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2016-10-25 14:38:58 -04:00
..
amd_powerplay.h drm/amdgpu/dpm: add new callback to fetch vce clock state (v2) 2016-10-25 14:38:41 -04:00
cz_ppsmc.h
eventmanager.h
eventmgr.h drm/amd/powerplay: Mark pem_event_action chains as const 2016-05-04 20:20:13 -04:00
fiji_ppsmc.h
fiji_pwrvirus.h drm/amd: Mark some tables as const 2016-05-04 20:20:00 -04:00
hardwaremanager.h drm/amd/powerplay: initialize platform caps in hwmgr_init. 2016-09-14 15:10:34 -04:00
hwmgr.h drm/amdgpu: use same vce state definition in dpm and powerplay 2016-10-25 14:38:39 -04:00
polaris10_ppsmc.h drm/amd/powerplay: add some definition for FFC feature on polaris. 2016-06-23 14:14:12 -04:00
polaris10_pwrvirus.h drm/amd/powerplay: use smu7 common functions and data on Polars10. 2016-09-19 13:22:15 -04:00
power_state.h drm/amdgpu: use same vce state definition in dpm and powerplay 2016-10-25 14:38:39 -04:00
pp_acpi.h drm/amdgpu: change function declarations and add missing header dependencies 2016-10-25 14:38:58 -04:00
pp_asicblocks.h
pp_debug.h drm/amd/powerplay: calculate flexible array member's address. 2016-09-14 15:10:28 -04:00
pp_endian.h drm/amd/powerplay: add a common pp endian header 2016-03-14 13:35:03 -04:00
pp_feature.h
pp_instance.h
pp_power_source.h
ppinterrupt.h
smu7.h
smu7_common.h drm/amd/powerplay: implement smu7 hwmgr to manager asics with smu ip version 7. 2016-09-19 13:22:10 -04:00
smu7_discrete.h
smu7_fusion.h
smu7_ppsmc.h drm/amd/powerplay: implement smu7 hwmgr to manager asics with smu ip version 7. 2016-09-19 13:22:10 -04:00
smu8.h
smu8_fusion.h
smu71.h drm/amd/powerplay: add SMU71 header files for iceland (v2) 2016-08-08 11:32:22 -04:00
smu71_discrete.h drm/amd/powerplay: add SMU71 header files for iceland (v2) 2016-08-08 11:32:22 -04:00
smu72.h
smu72_discrete.h
smu73.h
smu73_discrete.h
smu74.h drm/amd/powerplay: add avfs related define for polaris 2016-06-21 10:22:40 -04:00
smu74_discrete.h drm/amd/powerplay: add some definition for FFC feature on polaris. 2016-06-23 14:14:12 -04:00
smu_ucode_xfer_cz.h drm/amdgpu: add missing licenses on a couple of files 2016-05-11 12:31:22 -04:00
smu_ucode_xfer_vi.h drm/amd/powerplay: Add smc_sk firmware to baffin & ellesmere. 2016-05-04 20:26:26 -04:00
smumgr.h drm/amd/powerplay: implement smu7_smumgr for asics with smu ip version 7. 2016-09-19 13:22:14 -04:00
tonga_ppsmc.h