linux/drivers/gpu/drm/amd/display/dc/irq
Maíra Canal f11d9373b6 drm/amd/display: Turn global functions into static functions
Turn previously global functions into static functions to avoid
-Wmissing-prototype warnings, such as:

drivers/gpu/drm/amd/amdgpu/../display/dc/irq/dcn30/irq_service_dcn30.c:50:20:
warning: no previous prototype for function 'to_dal_irq_source_dcn30'
[-Wmissing-prototypes]
enum dc_irq_source to_dal_irq_source_dcn30(
                   ^
drivers/gpu/drm/amd/amdgpu/../display/dc/irq/dcn30/irq_service_dcn30.c:50:1:
note: declare 'static' if the function is not intended to be used outside
of this translation unit
enum dc_irq_source to_dal_irq_source_dcn30(
^
static
1 warning generated.

drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn316/dcn316_clk_mgr.c:488:6:
warning: no previous prototype for function
'dcn316_clk_mgr_helper_populate_bw_params' [-Wmissing-prototypes]
void dcn316_clk_mgr_helper_populate_bw_params(
     ^
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn316/dcn316_clk_mgr.c:488:1:
note: declare 'static' if the function is not intended to be used outside
of this translation unit
void dcn316_clk_mgr_helper_populate_bw_params(
^
static
1 warning generated.

v2: drop is_timing_changed hunk (Alex)

Signed-off-by: Maíra Canal <maira.canal@usp.br>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-02-23 14:03:20 -05:00
..
dce60
dce80
dce110 drm/amd/display: Add src/ext ID info for dummy service 2021-12-14 16:07:45 -05:00
dce120
dcn10 drm/amd/display: fix function scopes 2021-12-13 16:34:26 -05:00
dcn20 drm/amd/display: Turn global functions into static functions 2022-02-23 14:03:20 -05:00
dcn21 drm/amd/display: Remove vupdate_int_entry definition 2022-02-23 14:03:20 -05:00
dcn30 drm/amd/display: Turn global functions into static functions 2022-02-23 14:03:20 -05:00
dcn31 drm/amd/display: fix function scopes 2021-12-13 16:34:26 -05:00
dcn201 drm/amd/display: Remove unused dmub_outbox_irq_info_funcs variable 2022-02-23 14:03:20 -05:00
dcn302 drm/amd/display: add DMCUB trace irq support for DCN302 2021-04-09 16:49:27 -04:00
dcn303 drm/amd/display: Edit license info for beige goby DC files 2021-05-19 22:42:04 -04:00
dcn315 drm/amd/display: Add DCN315 IRQ 2022-02-18 14:07:00 -05:00
irq_service.c drm/amd/display: Revert W/A for hard hangs on DCN20/DCN21 2022-01-14 18:08:14 -05:00
irq_service.h drm/amd/display: Revert W/A for hard hangs on DCN20/DCN21 2022-01-14 18:08:14 -05:00
Makefile drm/amd/display: Add DCN315 IRQ 2022-02-18 14:07:00 -05:00