mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
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:
@@ -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) &&
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user