[Freedreno] [PATCH] drm/msm/dpu: drop unused variable from dpu_kms_mdp_snapshot()
Abhinav Kumar
quic_abhinavk at quicinc.com
Tue Aug 23 22:20:16 UTC 2022
On 8/22/2022 10:22 AM, Dmitry Baryshkov wrote:
> Follow up the merge of address fields and drop the variable that became
> unused after the commit 9403f9a42c88 ("drm/msm/dpu: merge base_off with
> blk_off in struct dpu_hw_blk_reg_map").
>
> Fixes: 9403f9a42c88 ("drm/msm/dpu: merge base_off with blk_off in struct dpu_hw_blk_reg_map")
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk at quicinc.com>
> ---
> drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
> index 008e1420e6e5..1e1f45409aba 100644
> --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
> +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
> @@ -902,12 +902,10 @@ static void dpu_kms_mdp_snapshot(struct msm_disp_state *disp_state, struct msm_k
> int i;
> struct dpu_kms *dpu_kms;
> const struct dpu_mdss_cfg *cat;
> - struct dpu_hw_mdp *top;
>
> dpu_kms = to_dpu_kms(kms);
>
> cat = dpu_kms->catalog;
> - top = dpu_kms->hw_mdp;
>
> pm_runtime_get_sync(&dpu_kms->pdev->dev);
>
More information about the Freedreno
mailing list