video: sr: add the missing bit mask for sr core1 [1/1]
authorBrian Zhu <brian.zhu@amlogic.com>
Fri, 7 Dec 2018 06:21:43 +0000 (14:21 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Fri, 7 Dec 2018 08:49:12 +0000 (00:49 -0800)
PD#SWPL-2948

Problem:
Miss the sr core1 bit mask to cause display abnormal

Solution:
Add the bit mask for sr core1

Verify:
Test pass by x301

Change-Id: I742d86b610a9748adad7c143d7a85c6796d3c8f7
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
drivers/amlogic/media/video_sink/video.c

index c526f61..463ff1c 100644 (file)
@@ -6523,7 +6523,7 @@ SET_FILTER:
                        VPP_VD1_POSTBLEND |
                        VPP_PREBLEND_EN |
                        VPP_POSTBLEND_EN |
-                       7);
+                       0xf);
                vpp_misc_save &=
                        ((1 << 29) | VPP_CM_ENABLE |
                        (0x1ff << VPP_VD2_ALPHA_BIT) |
@@ -6533,7 +6533,7 @@ SET_FILTER:
                        VPP_VD1_POSTBLEND |
                        VPP_PREBLEND_EN |
                        VPP_POSTBLEND_EN |
-                       7);
+                       0xf);
                if (vpp_misc_set != vpp_misc_save) {
                        /* vd1 need always enable pre bld */
                        if (vpp_misc_set & VPP_VD1_POSTBLEND)