linux/drivers/gpu/drm/amd/display/dc/dcn21
Isabella Basso 240e6d25a0 drm/amd/display: fix function scopes
This turns previously global functions into static, thus removing
compile-time warnings such as:

 warning: no previous prototype for 'get_highest_allowed_voltage_level'
 [-Wmissing-prototypes]
 742 | unsigned int get_highest_allowed_voltage_level(uint32_t chip_family, uint32_t hw_internal_rev, uint32_t pci_revision_id)
     |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 warning: no previous prototype for 'rv1_vbios_smu_send_msg_with_param'
 [-Wmissing-prototypes]
 102 | int rv1_vbios_smu_send_msg_with_param(struct clk_mgr_internal *clk_mgr, unsigned int msg_id, unsigned int param)
     |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Changes since v1:
- As suggested by Rodrigo Siqueira:
  1. Rewrite function signatures to make them more readable.
  2. Get rid of unused functions in order to remove 'defined but not
     used' warnings.

Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Isabella Basso <isabbasso@riseup.net>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-12-13 16:34:26 -05:00
..
dcn21_dccg.c drm/amd/display: Add interface for ADD & DROP PIXEL Registers 2021-06-08 12:22:42 -04:00
dcn21_dccg.h drm/amd/display: Adding prototype for dccg21_update_dpp_dto() 2020-12-15 11:35:25 -05:00
dcn21_hubbub.c drm/amd/display: fix function scopes 2021-12-13 16:34:26 -05:00
dcn21_hubbub.h drm/amd/display: log additional register state for debug 2021-07-21 13:39:25 -04:00
dcn21_hubp.c drm/amd/display: fix function scopes 2021-12-13 16:34:26 -05:00
dcn21_hubp.h
dcn21_hwseq.c drm/amd/display: Added multi instance support for ABM 2021-04-28 23:35:50 -04:00
dcn21_hwseq.h drm/amd/display: Block ABM in case of eDP ODM 2020-10-05 15:16:43 -04:00
dcn21_init.c drm/amd: append missing includes 2021-12-13 16:32:34 -05:00
dcn21_init.h
dcn21_link_encoder.c drm/amd/display: fix function scopes 2021-12-13 16:34:26 -05:00
dcn21_link_encoder.h
dcn21_resource.c drm/amd/display: fix function scopes 2021-12-13 16:34:26 -05:00
dcn21_resource.h
Makefile drm/amdgpu/display: drop DCN support for aarch64 2021-01-05 11:35:53 -05:00