osd: reset afbcd flag when convert format value [1/1]

PD#SWPL-5185

Problem:
"fence color format error 28" when test weston-simple-egl

Solution:
reset afbcd flag when convert format value

Verify:
Locally on g12b_w400

Change-Id: I81a9394288026bc596f6b3438cec72ceaad7749f
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
This commit is contained in:
Jian Cao
2019-03-15 17:21:08 +08:00
committed by Tao Zeng
parent 23b73604f6
commit 50557a176c

View File

@@ -9702,6 +9702,7 @@ static const struct color_bit_define_s *convert_panel_format(u32 format)
{ {
const struct color_bit_define_s *color = NULL; const struct color_bit_define_s *color = NULL;
format &= ~AFBC_EN;
switch (format) { switch (format) {
case COLOR_INDEX_02_PAL4: case COLOR_INDEX_02_PAL4:
case COLOR_INDEX_04_PAL16: case COLOR_INDEX_04_PAL16: