Skip to content
Snippets Groups Projects
Commit d023c9cb authored by Esha Bharadwaj's avatar Esha Bharadwaj Committed by Dmitry Baryshkov
Browse files

drm/msm/dpu: add CWB support to dpu_hw_wb

parent 33690856
No related branches found
No related tags found
No related merge requests found
......@@ -173,7 +173,9 @@ static void dpu_hw_wb_bind_pingpong_blk(
mux_cfg = DPU_REG_READ(c, WB_MUX);
mux_cfg &= ~0xf;
if (pp)
if (pp >= PINGPONG_CWB_0)
mux_cfg |= (pp < PINGPONG_CWB_2) ? 0xd : 0xb;
else if (pp)
mux_cfg |= (pp - PINGPONG_0) & 0x7;
else
mux_cfg |= 0xf;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment