mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
dolby: Graphics blending tests fail when 4k output [4/4]
PD#SWPL-10128 Problem: Osd scaling algorithm has bad effect Solution: Add repeat mode echo 0 > /sys/module/fb/parameters/osd_auto_adjust_filter echo 9 > /sys/module/fb/parameters/osd_h_filter_mode echo 9 > /sys/module/fb/parameters/osd_v_filter_mode Verify: Verified on sm1 Change-Id: Ibcb3925c0c7674043e10a249c7ee7dbeb029ca93 Signed-off-by: yao liu <yao.liu@amlogic.com>
This commit is contained in:
@@ -722,6 +722,15 @@ static unsigned int osd_filter_coefs_3point_bspline[] = {
|
||||
0x10601000
|
||||
};
|
||||
|
||||
static unsigned int osd_filter_coefs_repeat[] = { /* repeat coef0 */
|
||||
0x00800000, 0x00800000, 0x00800000, 0x00800000, 0x00800000, 0x00800000,
|
||||
0x00800000, 0x00800000, 0x00800000, 0x00800000, 0x00800000, 0x00800000,
|
||||
0x00800000, 0x00800000, 0x00800000, 0x00800000, 0x00800000, 0x00800000,
|
||||
0x00800000, 0x00800000, 0x00800000, 0x00800000, 0x00800000, 0x00800000,
|
||||
0x00800000, 0x00800000, 0x00800000, 0x00800000, 0x00800000, 0x00800000,
|
||||
0x00800000, 0x00800000, 0x00800000
|
||||
};
|
||||
|
||||
static unsigned int *filter_table[] = {
|
||||
osd_filter_coefs_bicubic_sharp,
|
||||
osd_filter_coefs_bicubic,
|
||||
@@ -731,7 +740,8 @@ static unsigned int *filter_table[] = {
|
||||
osd_filter_coefs_3point_triangle,
|
||||
osd_filter_coefs_4point_triangle,
|
||||
vpp_filter_coefs_4point_bspline,
|
||||
osd_filter_coefs_3point_bspline
|
||||
osd_filter_coefs_3point_bspline,
|
||||
osd_filter_coefs_repeat
|
||||
};
|
||||
|
||||
#ifdef NEW_PPS_PHASE
|
||||
|
||||
Reference in New Issue
Block a user