Loading drivers/gpu/drm/msm/sde/sde_hw_intf.c +8 −2 Original line number Original line Diff line number Diff line Loading @@ -353,14 +353,20 @@ static void sde_hw_intf_bind_pingpong_blk( const enum sde_pingpong pp) const enum sde_pingpong pp) { { struct sde_hw_blk_reg_map *c; struct sde_hw_blk_reg_map *c; int mux_cfg = 0xF; u32 mux_cfg; if (!intf) if (!intf) return; return; c = &intf->hw; c = &intf->hw; mux_cfg = SDE_REG_READ(c, INTF_MUX); mux_cfg &= ~0xf; if (enable) if (enable) mux_cfg = (pp - PINGPONG_0) & 0x7; mux_cfg |= (pp - PINGPONG_0) & 0x7; else mux_cfg |= 0xf; SDE_REG_WRITE(c, INTF_MUX, mux_cfg); SDE_REG_WRITE(c, INTF_MUX, mux_cfg); } } Loading Loading
drivers/gpu/drm/msm/sde/sde_hw_intf.c +8 −2 Original line number Original line Diff line number Diff line Loading @@ -353,14 +353,20 @@ static void sde_hw_intf_bind_pingpong_blk( const enum sde_pingpong pp) const enum sde_pingpong pp) { { struct sde_hw_blk_reg_map *c; struct sde_hw_blk_reg_map *c; int mux_cfg = 0xF; u32 mux_cfg; if (!intf) if (!intf) return; return; c = &intf->hw; c = &intf->hw; mux_cfg = SDE_REG_READ(c, INTF_MUX); mux_cfg &= ~0xf; if (enable) if (enable) mux_cfg = (pp - PINGPONG_0) & 0x7; mux_cfg |= (pp - PINGPONG_0) & 0x7; else mux_cfg |= 0xf; SDE_REG_WRITE(c, INTF_MUX, mux_cfg); SDE_REG_WRITE(c, INTF_MUX, mux_cfg); } } Loading