diff options
Diffstat (limited to 'target/linux/bcm27xx/patches-5.10/950-0533-vc4-kms-vc4_plane-Support-2020-colourspace-for-yuv-p.patch')
-rw-r--r-- | target/linux/bcm27xx/patches-5.10/950-0533-vc4-kms-vc4_plane-Support-2020-colourspace-for-yuv-p.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/bcm27xx/patches-5.10/950-0533-vc4-kms-vc4_plane-Support-2020-colourspace-for-yuv-p.patch b/target/linux/bcm27xx/patches-5.10/950-0533-vc4-kms-vc4_plane-Support-2020-colourspace-for-yuv-p.patch index 2cbe3841ef..f4fcccbe0c 100644 --- a/target/linux/bcm27xx/patches-5.10/950-0533-vc4-kms-vc4_plane-Support-2020-colourspace-for-yuv-p.patch +++ b/target/linux/bcm27xx/patches-5.10/950-0533-vc4-kms-vc4_plane-Support-2020-colourspace-for-yuv-p.patch @@ -19,7 +19,7 @@ Signed-off-by: Dom Cobley <popcornmix@gmail.com> --- a/drivers/gpu/drm/vc4/vc4_plane.c +++ b/drivers/gpu/drm/vc4/vc4_plane.c -@@ -645,10 +645,10 @@ static const u32 colorspace_coeffs[2][DR +@@ -647,10 +647,10 @@ static const u32 colorspace_coeffs[2][DR SCALER_CSC1_ITR_R_709_3, SCALER_CSC2_ITR_R_709_3, }, { @@ -34,7 +34,7 @@ Signed-off-by: Dom Cobley <popcornmix@gmail.com> } }, { /* Full range */ -@@ -663,10 +663,10 @@ static const u32 colorspace_coeffs[2][DR +@@ -665,10 +665,10 @@ static const u32 colorspace_coeffs[2][DR SCALER_CSC1_ITR_R_709_3_FR, SCALER_CSC2_ITR_R_709_3_FR, }, { @@ -49,7 +49,7 @@ Signed-off-by: Dom Cobley <popcornmix@gmail.com> } } }; -@@ -1488,7 +1488,8 @@ struct drm_plane *vc4_plane_init(struct +@@ -1490,7 +1490,8 @@ struct drm_plane *vc4_plane_init(struct drm_plane_create_color_properties(plane, BIT(DRM_COLOR_YCBCR_BT601) | @@ -61,7 +61,7 @@ Signed-off-by: Dom Cobley <popcornmix@gmail.com> DRM_COLOR_YCBCR_BT709, --- a/drivers/gpu/drm/vc4/vc4_regs.h +++ b/drivers/gpu/drm/vc4/vc4_regs.h -@@ -975,8 +975,10 @@ enum hvs_pixel_format { +@@ -981,8 +981,10 @@ enum hvs_pixel_format { #define SCALER_CSC0_COEF_CR_OFS_SHIFT 0 #define SCALER_CSC0_ITR_R_601_5 0x00f00000 #define SCALER_CSC0_ITR_R_709_3 0x00f00000 @@ -72,7 +72,7 @@ Signed-off-by: Dom Cobley <popcornmix@gmail.com> /* S2.8 contribution of Cb to Green */ #define SCALER_CSC1_COEF_CB_GRN_MASK VC4_MASK(31, 22) -@@ -991,9 +993,11 @@ enum hvs_pixel_format { +@@ -997,9 +999,11 @@ enum hvs_pixel_format { #define SCALER_CSC1_COEF_CR_BLU_MASK VC4_MASK(1, 0) #define SCALER_CSC1_COEF_CR_BLU_SHIFT 0 #define SCALER_CSC1_ITR_R_601_5 0xe73304a8 @@ -87,7 +87,7 @@ Signed-off-by: Dom Cobley <popcornmix@gmail.com> /* S2.8 contribution of Cb to Red */ #define SCALER_CSC2_COEF_CB_RED_MASK VC4_MASK(29, 20) -@@ -1004,10 +1008,12 @@ enum hvs_pixel_format { +@@ -1010,10 +1014,12 @@ enum hvs_pixel_format { /* S2.8 contribution of Cb to Blue */ #define SCALER_CSC2_COEF_CB_BLU_MASK VC4_MASK(19, 10) #define SCALER_CSC2_COEF_CB_BLU_SHIFT 10 |