[PATCH] drm/amd/display: make some dc_dmub_srv functions static

Harry Wentland harry.wentland at amd.com
Tue Jul 12 15:26:49 UTC 2022



On 2022-07-12 10:50, Alex Deucher wrote:
> Ping?
> 
> On Fri, Jul 8, 2022 at 11:50 AM Alex Deucher <alexander.deucher at amd.com> wrote:
>>
>> Not used outside of dc_dmub_srv.c.
>>
>> Reported-by: kernel test robot <lkp at intel.com>
>> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>

Reviewed-by: Harry Wentland <harry.wentland at amd.com>

Harry

>> ---
>>  drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c | 4 ++--
>>  1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c b/drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
>> index 832f7a4deb03..39b426d04037 100644
>> --- a/drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
>> +++ b/drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
>> @@ -270,7 +270,7 @@ void dc_dmub_srv_drr_update_cmd(struct dc *dc, uint32_t tg_inst, uint32_t vtotal
>>         dc_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
>>



More information about the amd-gfx mailing list