drm/msm/mdss: specify cfg bandwidth for SDM670
PATCH 1/1 drm/msm/mdss: specify cfg bandwidth for SDM670
Lower the requested CFG bus bandwidth for the SDM670 platform. The default value is 153600 kBps, which is twice as big as required by the platform according to the vendor kernel.
--- drivers/gpu/drm/msm/msm_mdss.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/msm/msm_mdss.c +1 -0
@@ -562,6 +562,7 @@ static const struct msm_mdss_data sdm670_data = { .ubwc_enc_version = UBWC_2_0, .ubwc_dec_version = UBWC_2_0, .highest_bank_bit = 1, + .reg_bus_bw = 76800, };static const struct msm_mdss_data sdm845_data = {
Signature · 1 line
2.39.2
Quoted 10 lines · Dmitry Baryshkov
Lower the requested CFG bus bandwidth for the SDM670 platform. The default value is 153600 kBps, which is twice as big as required by the platform according to the vendor kernel.
Fixes a55c8ff252d3 ("drm/msm/mdss: Handle the reg bus ICC path")Signed-off-by Dmitry Baryshkov <[email protected]>--- drivers/gpu/drm/msm/msm_mdss.c | 1 + 1 file changed, 1 insertion(+)
Quoted 15 lines · Dmitry Baryshkov
Lower the requested CFG bus bandwidth for the SDM670 platform. The default value is 153600 kBps, which is twice as big as required by the platform according to the vendor kernel.
Fixes a55c8ff252d3 ("drm/msm/mdss: Handle the reg bus ICC path")Signed-off-by Dmitry Baryshkov <[email protected]>--- drivers/gpu/drm/msm/msm_mdss.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/msm/msm_mdss.c +0
-0
drivers/gpu/drm/msm/msm_mdss.c static const struct msm_mdss_data sdm670_data = { · line 565
Quoted 4 lines
drivers/gpu/drm/msm/msm_mdss.c +1
-0@@ -562,6 +562,7 @@ static const struct msm_mdss_data sdm670_data = { .ubwc_enc_version = UBWC_2_0, .ubwc_dec_version = UBWC_2_0, .highest_bank_bit = 1, + .reg_bus_bw = 76800,
This seems to be the bandwidth applied to the "cpu-cfg" path, but it is not in the device tree yet and is not allowed by schema (for no particular reason). In sdm670.dtsi, it would be defined as:
<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_DISPLAY_CFG 0>
Furthermore, I have not yet emailed the patches that I use to test the display on SDM670, namely, the panel driver and device tree changes for the Pixel 3a. Nevertheless, this does not break anything, even with the interconnect path and everything needed to test.
Quoted 6 lines
drivers/gpu/drm/msm/msm_mdss.c +0
-0};static const struct msm_mdss_data sdm845_data = {Signature · 1 line
2.39.2