drm/msm/dpu: stop mapping the regdma region
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 20 Apr 2023 22:25:58 +0000 (01:25 +0300)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Mon, 22 May 2023 07:14:16 +0000 (10:14 +0300)
Stop mapping the regdma region. The driver does not support regdma.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/533150/
Link: https://lore.kernel.org/r/20230420222558.1208887-2-dmitry.baryshkov@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h

index aebc1dd..e5f02ff 100644 (file)
@@ -1080,12 +1080,6 @@ static int dpu_kms_hw_init(struct msm_kms *kms)
                DPU_DEBUG("VBIF NRT is not defined");
        }
 
-       dpu_kms->reg_dma = msm_ioremap_quiet(dpu_kms->pdev, "regdma");
-       if (IS_ERR(dpu_kms->reg_dma)) {
-               dpu_kms->reg_dma = NULL;
-               DPU_DEBUG("REG_DMA is not defined");
-       }
-
        dpu_kms_parse_data_bus_icc_path(dpu_kms);
 
        rc = pm_runtime_resume_and_get(&dpu_kms->pdev->dev);
index aca39a4..15111e4 100644 (file)
@@ -71,7 +71,7 @@ struct dpu_kms {
        const struct dpu_mdss_cfg *catalog;
 
        /* io/register spaces: */
-       void __iomem *mmio, *vbif[VBIF_MAX], *reg_dma;
+       void __iomem *mmio, *vbif[VBIF_MAX];
 
        struct regulator *vdd;
        struct regulator *mmagic;