dv: add dv target output mode [1/1]
authorBrian Zhu <brian.zhu@amlogic.com>
Fri, 8 Nov 2019 18:03:16 +0000 (02:03 +0800)
committerBrian Zhu <brian.zhu@amlogic.com>
Fri, 6 Dec 2019 16:30:19 +0000 (09:30 -0700)
commitecb0485dbab37fd7898906b902b4ff288cd381a4
tree4c7026e98c2978ff22c6500a265cc1025d80a253
parent77e5f9d7df6eb245f6f02dfd74820bdbc54eeddd
dv: add dv target output mode [1/1]

PD#SWPL-16861

Problem:
HDR core get the wrong dv output state when vd1/vd switching.
It caused the HDR core setting incorret.

Solution:
Add the new interface to update the correct state.

Verify:
Verified on AC213

Change-Id: I3df18b967257ccfcb57c110b4dbc79100d290a80
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
(cherry picked from commit 9d31efae4a55eadf0beb62c404adb427fdd7d4ea)
drivers/amlogic/media/enhancement/amdolby_vision/amdolby_vision.c
drivers/amlogic/media/enhancement/amvecm/amcsc.c
drivers/amlogic/media/enhancement/amvecm/amcsc_pip.c
drivers/amlogic/media/enhancement/amvecm/set_hdr2_v0.c
include/linux/amlogic/media/amdolbyvision/dolby_vision.h