else if (IS_UBWC_30_SUPPORTED(ubwc_version)) { u32 reg = m->mdp[0].ubwc_static | (m->mdp[0].ubwc_swizzle & 0x1) | ((m->mdp[0].highest_bank_bit & 0x3) << 4) | ((m->macrotile_mode & 0x1) << 12); if (IS_UBWC_30_SUPPORTED(m->ubwc_version)) reg |= BIT(10); if (IS_UBWC_10_SUPPORTED(m->ubwc_version)) reg |= BIT(8); SDE_REG_WRITE(&c, UBWC_STATIC, reg); }