drm/amd/display: make some dc_dmub_srv functions static
Subsystems (3)
Alex Deucher
maintainerPATCH 1/1 drm/amd/display: make some dc_dmub_srv functions static
Not used outside of dc_dmub_srv.c.
Reported-by kernel test robot <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c +2 -2
@@ -270,7 +270,7 @@ void dc_dmub_srv_drr_update_cmd(struct dc *dc, uint32_t tg_inst, uint32_t vtotaldc_dmub_srv_wait_idle (dc->ctx->dmub_srv); } -uint8_t dc_dmub_srv_get_pipes_for_stream (struct dc *dc,struct dc_stream_state *stream) +static uint8_t dc_dmub_srv_get_pipes_for_stream (struct dc *dc,struct dc_stream_state *stream) {uint8_t pipes =0 ;int i =0 ;
@@ -284,7 +284,7 @@ uint8_t dc_dmub_srv_get_pipes_for_stream(struct dc *dc, struct dc_stream_state *return pipes; } -int dc_dmub_srv_get_timing_generator_offset (struct dc *dc,struct dc_stream_state *stream) +static int dc_dmub_srv_get_timing_generator_offset (struct dc *dc,struct dc_stream_state *stream) {int tg_inst =0 ;int i =0 ;
Signature · 1 line
2.35.3
Ping?
Quoted 34 lines · Alex Deucher
Not used outside of
dc_dmub_srv.c.Reported-by kernel test robot <[email protected]>Signed-off-by Alex Deucher <[email protected]>--- drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c +2
-3@@ -270,7 +270,7 @@ void dc_dmub_srv_drr_update_cmd(struct dc *dc, uint32_t tg_inst, uint32_t vtotaldc_dmub_srv_wait_idle (dc->ctx->dmub_srv); } -uint8_t dc_dmub_srv_get_pipes_for_stream (struct dc *dc,struct dc_stream_state *stream) +static uint8_t dc_dmub_srv_get_pipes_for_stream (struct dc *dc,struct dc_stream_state *stream) {uint8_t pipes =0 ;int i =0 ;@@ -284,7 +284,7 @@ uint8_t dc_dmub_srv_get_pipes_for_stream(struct dc *dc, struct dc_stream_state *return pipes; } -int dc_dmub_srv_get_timing_generator_offset (struct dc *dc,struct dc_stream_state *stream) +static int dc_dmub_srv_get_timing_generator_offset (struct dc *dc,struct dc_stream_state *stream) {int tg_inst =0 ;int i =0 ; --2.35.3
Quoted 8 lines · Alex Deucher
Ping?
Quoted 5 lines · Alex Deucher
Not used outside of
dc_dmub_srv.c.Reported-by kernel test robot <[email protected]>Signed-off-by Alex Deucher <[email protected]>
Reviewed-by Harry Wentland <[email protected]>
Harry
Quoted 29 lines
Quoted 29 lines
--- drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c +2
-3@@ -270,7 +270,7 @@ void dc_dmub_srv_drr_update_cmd(struct dc *dc, uint32_t tg_inst, uint32_t vtotaldc_dmub_srv_wait_idle (dc->ctx->dmub_srv); } -uint8_t dc_dmub_srv_get_pipes_for_stream (struct dc *dc,struct dc_stream_state *stream) +static uint8_t dc_dmub_srv_get_pipes_for_stream (struct dc *dc,struct dc_stream_state *stream) {uint8_t pipes =0 ;int i =0 ;@@ -284,7 +284,7 @@ uint8_t dc_dmub_srv_get_pipes_for_stream(struct dc *dc, struct dc_stream_state *return pipes; } -int dc_dmub_srv_get_timing_generator_offset (struct dc *dc,struct dc_stream_state *stream) +static int dc_dmub_srv_get_timing_generator_offset (struct dc *dc,struct dc_stream_state *stream) {int tg_inst =0 ;int i =0 ; --2.35.3
Às 12:50 de 08/07/22, Alex Deucher escreveu:
Quoted 4 lines
Not used outside of
dc_dmub_srv.c.Reported-by kernel test robot <[email protected]>Signed-off-by Alex Deucher <[email protected]>
Reviewed-by André Almeida <[email protected]>