PD#173674: dv: turn off overscan when dv on
Change-Id: Ib0b56402038812df1b5e540271608862a59f085e
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
#include <linux/amlogic/cpu_version.h>
#include <linux/amlogic/media/vfm/vframe.h>
#include <linux/amlogic/media/amvecm/amvecm.h>
+#include <linux/amlogic/media/amdolbyvision/dolby_vision.h>
#include <linux/amlogic/media/vout/vinfo.h>
#include <linux/amlogic/media/vout/vout_notify.h>
#include "arch/vpp_regs.h"
if (overscan_disable)
return;
+ if (is_dolby_vision_on())
+ return;
if (overscan_table[0].load_flag) {
height = (vf->type & VIDTYPE_COMPRESS) ?
vf->compHeight : vf->height;