Re: [PATCH 2/2] drm/amdgpu/display/dc: drop un used variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2021-05-17 3:08 p.m., Alex Deucher wrote:
> Unused so remove them.
> 
> Fixes: 5791d219561cb6 ("drm/amd/display: Refactor and add visual confirm for HW Flip Queue")
> Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx>
> Cc: Wyatt Wood <wyatt.wood@xxxxxxx>

Series is
Reviewed-by: Harry Wentland <harry.wentland@xxxxxxx>

Harry

> ---
>  drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 1 -
>  drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c        | 1 -
>  2 files changed, 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
> index 85a947015945..81803463ca9b 100644
> --- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
> +++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
> @@ -2521,7 +2521,6 @@ void dcn10_update_visual_confirm_color(struct dc *dc, struct pipe_ctx *pipe_ctx,
>  
>  void dcn10_update_mpcc(struct dc *dc, struct pipe_ctx *pipe_ctx)
>  {
> -	struct dce_hwseq *hws = dc->hwseq;
>  	struct hubp *hubp = pipe_ctx->plane_res.hubp;
>  	struct mpcc_blnd_cfg blnd_cfg = {{0}};
>  	bool per_pixel_alpha = pipe_ctx->plane_state->per_pixel_alpha && pipe_ctx->bottom_pipe;
> diff --git a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c
> index 558821e5ed2f..25de15158801 100644
> --- a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c
> +++ b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c
> @@ -2286,7 +2286,6 @@ void dcn20_update_visual_confirm_color(struct dc *dc, struct pipe_ctx *pipe_ctx,
>  
>  void dcn20_update_mpcc(struct dc *dc, struct pipe_ctx *pipe_ctx)
>  {
> -	struct dce_hwseq *hws = dc->hwseq;
>  	struct hubp *hubp = pipe_ctx->plane_res.hubp;
>  	struct mpcc_blnd_cfg blnd_cfg = { {0} };
>  	bool per_pixel_alpha = pipe_ctx->plane_state->per_pixel_alpha;
> 

_______________________________________________
amd-gfx mailing list
amd-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/amd-gfx



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux