Re: [PATCH 3/3] drm/msm/dpu: add missing ubwc_swizzle setting to catalog

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

 





On 12/7/2022 6:28 AM, Dmitry Baryshkov wrote:
Use the values from the vendor DTs to set ubwc_swizzle in the catalog.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>

I have already acked https://patchwork.freedesktop.org/patch/519662/

So this can be dropped from this series.

---
  drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 3 +++
  1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c
index a1b52b9b16f1..b80cc11a9a83 100644
--- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c
+++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c
@@ -516,6 +516,7 @@ static const struct dpu_mdp_cfg sm6115_mdp[] = {
  	.base = 0x0, .len = 0x494,
  	.features = 0,
  	.highest_bank_bit = 0x1,
+	.ubwc_swizzle = 0x7,
  	.clk_ctrls[DPU_CLK_CTRL_VIG0] = {
  		.reg_off = 0x2ac, .bit_off = 0},
  	.clk_ctrls[DPU_CLK_CTRL_DMA0] = {
@@ -529,6 +530,7 @@ static const struct dpu_mdp_cfg sm8250_mdp[] = {
  	.base = 0x0, .len = 0x494,
  	.features = 0,
  	.highest_bank_bit = 0x3, /* TODO: 2 for LP_DDR4 */
+	.ubwc_swizzle = 0x6,
  	.clk_ctrls[DPU_CLK_CTRL_VIG0] = {
  			.reg_off = 0x2AC, .bit_off = 0},
  	.clk_ctrls[DPU_CLK_CTRL_VIG1] = {
@@ -558,6 +560,7 @@ static const struct dpu_mdp_cfg sm8450_mdp[] = {
  	.base = 0x0, .len = 0x494,
  	.features = BIT(DPU_MDP_PERIPH_0_REMOVED),
  	.highest_bank_bit = 0x3, /* TODO: 2 for LP_DDR4 */
+	.ubwc_swizzle = 0x6,
  	.clk_ctrls[DPU_CLK_CTRL_VIG0] = {
  			.reg_off = 0x2AC, .bit_off = 0},
  	.clk_ctrls[DPU_CLK_CTRL_VIG1] = {



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux