if (set) {
data32[0] = osd_reg_read(VPP_RDARB_MODE);
- data32[1] = osd_reg_read(VPU_RDARB_MODE_L2C1);
+ data32[1] = osd_reg_read(VPU_WRARB_MODE_L2C1);
osd_reg_set_bits(VPP_RDARB_MODE, 2, 20, 8);
- osd_reg_set_bits(VPU_RDARB_MODE_L2C1, 2, 16, 8);
+ osd_reg_set_bits(VPU_WRARB_MODE_L2C1, 2, 16, 4);
} else {
osd_reg_write(VPP_RDARB_MODE, data32[0]);
- osd_reg_write(VPU_RDARB_MODE_L2C1, data32[1]);
+ osd_reg_write(VPU_WRARB_MODE_L2C1, data32[1]);
}
}
#define VPP_POST_BLEND_DUMMY_ALPHA 0x3969
#define VPP_RDARB_MODE 0x3978
#define VPP_RDARB_REQEN_SLV 0x3979
+#define VPU_WRARB_MODE_L2C1 0x27a2
#define VPU_RDARB_MODE_L2C1 0x279d
/*VIU2 osd1 reg*/