Skip to contentSkip to conversation

drm/msm: always parse interconnects

PATCH In review Caleb Connolly 2 participants 2 messages Apr 17, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/msm: always parse interconnects

The WARN_ON in dpu_runtime_resume() fires constantly on non-SC7180 platforms. As SDM845 now has interconnects hooked up we should always try and parse them.

Fixes 627dc55c273d ("drm/msm/disp/dpu1: icc path needs to be set before dpu runtime resume")
---
 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c +1 -2
index 85f2c3564c96..fb061e666faa 100644
@@ -933,8 +933,7 @@ static int dpu_kms_hw_init(struct msm_kms *kms)
 		DPU_DEBUG("REG_DMA is not defined");
 	}
 
-	if (of_device_is_compatible(dev->dev->of_node, "qcom,sc7180-mdss"))
-		dpu_kms_parse_data_bus_icc_path(dpu_kms);
+	dpu_kms_parse_data_bus_icc_path(dpu_kms);
 
 	pm_runtime_get_sync(&dpu_kms->pdev->dev);
 
Signature · 1 line
2.30.2
#1 lore raw
Quoted 7 lines · Caleb Connolly

The WARN_ON in dpu_runtime_resume() fires constantly on non-SC7180 platforms. As SDM845 now has interconnects hooked up we should always try and parse them.

Fixes 627dc55c273d ("drm/msm/disp/dpu1: icc path needs to be set before dpu runtime resume")

I believe this series in msm-next already solves this

https://patchwork.freedesktop.org/series/88644/

BR,
-R

Quoted 22 lines
---
 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c +1 -3
index 85f2c3564c96..fb061e666faa 100644
@@ -933,8 +933,7 @@ static int dpu_kms_hw_init(struct msm_kms *kms)
                DPU_DEBUG("REG_DMA is not defined");
        }
 
-       if (of_device_is_compatible(dev->dev->of_node, "qcom,sc7180-mdss"))
-               dpu_kms_parse_data_bus_icc_path(dpu_kms);
+       dpu_kms_parse_data_bus_icc_path(dpu_kms);
 
        pm_runtime_get_sync(&dpu_kms->pdev->dev);
 
--

2.30.2