dv: improve the dv process flow [1/1]
authorBrian Zhu <brian.zhu@amlogic.com>
Fri, 6 Dec 2019 14:57:09 +0000 (22:57 +0800)
committerBrian Zhu <brian.zhu@amlogic.com>
Mon, 9 Dec 2019 06:35:18 +0000 (23:35 -0700)
commitd5c5f37ce82dfb8ab2475bf6393764d312c93e45
tree5407a6c24f865894ea419704452c4f12d3cd8c75
parentecb0485dbab37fd7898906b902b4ff288cd381a4
dv: improve the dv process flow [1/1]

PD#SWPL-18116

Problem:
Under keeping frame case, dv toggle frame with wrong
mode, it may cause non-dv effect .

Solution:
Improve the toggle flow , pass the correct mode into
dv driver. Then using the last meta data

Verify:
Verified on u212

Change-Id: I456bb16e16810c166aba23d07a3296595032861e
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
(cherry picked from commit 7595b454438eddfd6332780a4109678730f831ab)
drivers/amlogic/media/enhancement/amdolby_vision/amdolby_vision.c
drivers/amlogic/media/video_sink/video.c
drivers/amlogic/media/video_sink/video_hw.c
drivers/amlogic/media/video_sink/video_priv.h
include/linux/amlogic/media/amdolbyvision/dolby_vision.h