PD#TV-6827
Problem:
when input source is 4k and output axis's height <228, screen blank
Solution:
1. need set echo 20 250 > /sys/class/video/black_threshold,
when video scaler can't process, disable video
2. black_threshold valid when vscale_skip_count=8 && hscale_skip_count=1
Verify:
t972
Change-Id: I4459c9989adf4c8acb6061756393384cee6f438f
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
return ret;
if ((layer->layer_width <= black_threshold_width)
- || (layer->layer_height <= black_threshold_height))
- ret = true;
+ || (layer->layer_height <= black_threshold_height)) {
+ if (cur_frame_par &&
+ (cur_frame_par->vscale_skip_count == 8) &&
+ (cur_frame_par->hscale_skip_count == 1))
+ ret = true;
+ }
return ret;
}