dolby: fix Display looks abnormal problem [1/1]

PD#OTT-3006

Problem:
The width and height of DOLBY_CORE2A reg are reversed

Solution:
Setting right width and height for DOLBY_CORE2A

Verify:
raven

Change-Id: I89d1a99d00122179bb35b5853a869819e5d62ac9
Signed-off-by: yao liu <yao.liu@amlogic.com>
This commit is contained in:
yao liu
2019-04-26 08:35:34 -04:00
committed by Luan Yuan
parent d30feff468
commit 3cecc08a41
2 changed files with 2 additions and 2 deletions

View File

@@ -2386,7 +2386,7 @@ static void apply_stb_core_settings(
24, 256 * 5,
(uint32_t *)&new_dovi_setting.dm_reg2,
(uint32_t *)&new_dovi_setting.dm_lut2,
graphics_h, graphics_w, 1, 1);
graphics_w, graphics_h, 1, 1);
v_size = vinfo->height;
if (((vinfo->width == 720) &&
(vinfo->height == 480) &&

View File

@@ -7346,7 +7346,7 @@ static void set_blend_reg(struct layer_blend_reg_s *blend_reg)
DOLBY_CORE2A_SWAP_CTRL2,
(dv_core2_hsize << 16) | (dv_core2_vsize + 0));
#ifdef CONFIG_AMLOGIC_MEDIA_ENHANCEMENT_DOLBYVISION
update_graphic_width_height(dv_core2_vsize, dv_core2_hsize);
update_graphic_width_height(dv_core2_hsize, dv_core2_vsize);
#endif
}