mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
dv: set avi info limited range when dv output hdr mode [1/1]
PD#SWPL-1127 Problem: when dv output hdr mode, the quantization range is default value instead of limited range Solution: set quantization range to limited range in avi info Verify: t962e (txlx) Change-Id: Ib4fbeb1c7efcedd7194143772ee5c663284a1c77 Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
This commit is contained in:
@@ -1556,8 +1556,7 @@ static int dolby_core1_set(
|
||||
/* vd2 to core1 */
|
||||
0, 17, 1);
|
||||
} else {
|
||||
if (get_cpu_type() ==
|
||||
MESON_CPU_MAJOR_ID_G12A)
|
||||
if (is_meson_g12())
|
||||
VSYNC_WR_MPEG_REG_BITS(
|
||||
DOLBY_PATH_CTRL,
|
||||
/* vd2 to core1 */
|
||||
|
||||
@@ -1349,6 +1349,9 @@ static void hdmitx_set_drm_pkt(struct master_display_info_s *data)
|
||||
hdev->hdmi_current_hdr_mode = 3;
|
||||
}
|
||||
|
||||
hdev->HWOp.CntlConfig(hdev, CONF_AVI_Q01,
|
||||
RGB_RANGE_LIM);
|
||||
|
||||
switch (hdev->hdmi_current_hdr_mode) {
|
||||
case 1:
|
||||
/*standard HDR*/
|
||||
|
||||
Reference in New Issue
Block a user