From 5c8a2dd0443e683e0216d7977251510a0ddcf9bd Mon Sep 17 00:00:00 2001 From: Pengcheng Chen Date: Thu, 13 Jun 2019 18:18:12 +0800 Subject: [PATCH] osd: display abnormal when 2nd osd laysers scope > 1080 [1/1] PD#OTT-4277 Problem: osd display abnormal when 2nd osd laysers scope > 1080 default osd scope value in disable channel is too small Solution: set default osd scope value in disable channel to 0xffffffff Verify: verified by S905D2-U200 Change-Id: I9983928d91c1ac4285f2a5acdffa5438722e4ab4 Signed-off-by: Pengcheng Chen --- drivers/amlogic/media/osd/osd_hw.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/amlogic/media/osd/osd_hw.c b/drivers/amlogic/media/osd/osd_hw.c index 17b8f94a3d18..8069f947a284 100644 --- a/drivers/amlogic/media/osd/osd_hw.c +++ b/drivers/amlogic/media/osd/osd_hw.c @@ -8100,7 +8100,8 @@ static void set_blend_reg(struct layer_blend_reg_s *blend_reg) } else { if ((blend_reg->osd_blend_din_scope_v[i] & 0xffff) == 0) - blend_reg->osd_blend_din_scope_v[i] = 0x43a0439; + blend_reg->osd_blend_din_scope_v[i] = + 0xffffffff; VSYNCOSD_WR_MPEG_REG( VIU_OSD_BLEND_DIN0_SCOPE_V + reg_offset * i, blend_reg->osd_blend_din_scope_v[i]);