Skip to content

Commit 6884b0e

Browse files
Grillo-0alexdeucher
authored andcommitted
drm/amd/display: Add function prototypes to headers
Add function prototypes to headers to reduce the number of -Wmissing-prototypes warnings. Signed-off-by: Arthur Grillo <arthurgrillo@riseup.net> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 1706d9a commit 6884b0e

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hubbub.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@
133133
int hubbub31_init_dchub_sys_ctx(struct hubbub *hubbub,
134134
struct dcn_hubbub_phys_addr_config *pa_config);
135135

136+
void hubbub31_init(struct hubbub *hubbub);
137+
136138
void hubbub31_construct(struct dcn20_hubbub *hubbub3,
137139
struct dc_context *ctx,
138140
const struct dcn_hubbub_registers *hubbub_regs,

drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hubbub.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,8 @@ void hubbub32_force_usr_retraining_allow(struct hubbub *hubbub, bool allow);
204204

205205
void hubbub32_force_wm_propagate_to_pipes(struct hubbub *hubbub);
206206

207+
void hubbub32_init(struct hubbub *hubbub);
208+
207209
void dcn32_program_det_size(struct hubbub *hubbub, int hubp_inst, unsigned int det_buffer_size_in_kbyte);
208210

209211
void hubbub32_construct(struct dcn20_hubbub *hubbub2,

drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hubp.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ void hubp32_phantom_hubp_post_enable(struct hubp *hubp);
6161
void hubp32_cursor_set_attributes(struct hubp *hubp,
6262
const struct dc_cursor_attributes *attr);
6363

64+
void hubp32_init(struct hubp *hubp);
65+
6466
bool hubp32_construct(
6567
struct dcn20_hubp *hubp2,
6668
struct dc_context *ctx,

0 commit comments

Comments
 (0)