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)
committerLuan Yuan <luan.yuan@amlogic.com>
Mon, 17 Dec 2018 06:54:51 +0000 (14:54 +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 931bb7d..59aa48b 100644 (file)
@@ -6426,7 +6426,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) |
@@ -6436,7 +6436,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)