video_composer: add in the uvm type to check whether has vframe. [1/1]
authorjintao xu <jintao.xu@amlogic.com>
Mon, 21 Jun 2021 06:43:18 +0000 (14:43 +0800)
committerChristian Hoffmann <chrmhoffmann@gmail.com>
Sun, 12 Feb 2023 08:13:11 +0000 (09:13 +0100)
commit2f678e9ebf58ffcfe044f56d73adffc15b32ef40
tree24d15979b57eab6caa0cee43fdae44f0acba0986
parent5793c6bca53b4a90a7bfcec49e73b4c12a75af2e
video_composer: add in the uvm type to check whether has vframe. [1/1]

PD#SWPL-52333

Problem:
hdmitx audio setting function is called on TV
platform and cause crash

Solution:
if hdmitx driver is not enabled, export function
just return

Verify:
pb

Signed-off-by: jintao xu <jintao.xu@amlogic.com>
Change-Id: Ic87135d8621a2a37e74c2ac8ddc6d7096e3d75d1
drivers/amlogic/media/video_processor/video_composer/video_composer.c
include/linux/amlogic/meson_uvm_core.h