diff options
author | Rui Salvaterra <rsalvaterra@gmail.com> | 2022-05-18 15:32:03 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2022-06-06 19:20:28 +0200 |
commit | ed1536e0b6b7f2aeea6881632b89b269d27ff7ce (patch) | |
tree | baf77f9a1bb148f9d0c765d78de348e81e92583b /target/linux/bcm27xx/patches-5.15/950-0786-drm-vc4-hdmi-Add-CSC-for-BT601-709-2020-limited-and-.patch | |
parent | f800f8d6fc4f21ed87454aa657ebbf376dc3b6cf (diff) | |
download | upstream-ed1536e0b6b7f2aeea6881632b89b269d27ff7ce.tar.gz upstream-ed1536e0b6b7f2aeea6881632b89b269d27ff7ce.tar.bz2 upstream-ed1536e0b6b7f2aeea6881632b89b269d27ff7ce.zip |
kernel: bump 5.15 to 5.15.41
Deleted (upstreamed):
generic/backport-5.15/890-v5.19-net-sfp-Add-tx-fault-workaround-for-Huawei-MA5671A-SFP-ON.patch [1]
Other patches automatically rebased.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.41&id=99858114a3b2c8f5f8707d9bbd46c50f547c87c0
Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
Diffstat (limited to 'target/linux/bcm27xx/patches-5.15/950-0786-drm-vc4-hdmi-Add-CSC-for-BT601-709-2020-limited-and-.patch')
-rw-r--r-- | target/linux/bcm27xx/patches-5.15/950-0786-drm-vc4-hdmi-Add-CSC-for-BT601-709-2020-limited-and-.patch | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/target/linux/bcm27xx/patches-5.15/950-0786-drm-vc4-hdmi-Add-CSC-for-BT601-709-2020-limited-and-.patch b/target/linux/bcm27xx/patches-5.15/950-0786-drm-vc4-hdmi-Add-CSC-for-BT601-709-2020-limited-and-.patch index dbfc1520c1..3a8626bf24 100644 --- a/target/linux/bcm27xx/patches-5.15/950-0786-drm-vc4-hdmi-Add-CSC-for-BT601-709-2020-limited-and-.patch +++ b/target/linux/bcm27xx/patches-5.15/950-0786-drm-vc4-hdmi-Add-CSC-for-BT601-709-2020-limited-and-.patch @@ -22,7 +22,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> --- a/drivers/gpu/drm/vc4/vc4_hdmi.c +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c -@@ -138,8 +138,8 @@ static bool vc4_hdmi_mode_needs_scrambli +@@ -139,8 +139,8 @@ static bool vc4_hdmi_mode_needs_scrambli return clock > HDMI_14_MAX_TMDS_CLK; } @@ -33,7 +33,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> { struct vc4_hdmi_encoder *vc4_encoder = &vc4_hdmi->encoder; -@@ -679,7 +679,7 @@ static void vc4_hdmi_set_avi_infoframe(s +@@ -680,7 +680,7 @@ static void vc4_hdmi_set_avi_infoframe(s drm_hdmi_avi_infoframe_quant_range(&frame.avi, connector, mode, @@ -42,7 +42,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> HDMI_QUANTIZATION_RANGE_FULL : HDMI_QUANTIZATION_RANGE_LIMITED); drm_hdmi_avi_infoframe_colorimetry(&frame.avi, cstate); -@@ -913,7 +913,7 @@ static void vc4_hdmi_csc_setup(struct vc +@@ -914,7 +914,7 @@ static void vc4_hdmi_csc_setup(struct vc csc_ctl = VC4_SET_FIELD(VC4_HD_CSC_CTL_ORDER_BGR, VC4_HD_CSC_CTL_ORDER); @@ -51,7 +51,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> /* CEA VICs other than #1 requre limited range RGB * output unless overridden by an AVI infoframe. * Apply a colorspace conversion to squash 0-255 down -@@ -943,7 +943,6 @@ static void vc4_hdmi_csc_setup(struct vc +@@ -944,7 +944,6 @@ static void vc4_hdmi_csc_setup(struct vc spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); } @@ -59,7 +59,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> /* * If we need to output Full Range RGB, then use the unity matrix * -@@ -951,15 +950,6 @@ static void vc4_hdmi_csc_setup(struct vc +@@ -952,15 +951,6 @@ static void vc4_hdmi_csc_setup(struct vc * [ 0 1 0 0] * [ 0 0 1 0] * @@ -75,7 +75,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> * CEA VICs other than #1 require limited range RGB output unless * overridden by an AVI infoframe. Apply a colorspace conversion to * squash 0-255 down to 16-235. The matrix here is: -@@ -970,42 +960,105 @@ static const u16 vc5_hdmi_csc_full_rgb_u +@@ -971,42 +961,105 @@ static const u16 vc5_hdmi_csc_full_rgb_u * * Matrix is signed 2p13 fixed point, with signed 9p6 offsets */ @@ -203,7 +203,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> }; static void vc5_hdmi_set_csc_coeffs(struct vc4_hdmi *vc4_hdmi, -@@ -1021,12 +1074,28 @@ static void vc5_hdmi_set_csc_coeffs(stru +@@ -1022,12 +1075,28 @@ static void vc5_hdmi_set_csc_coeffs(stru HDMI_WRITE(HDMI_CSC_34_33, (coeffs[2][3] << 16) | coeffs[2][2]); } @@ -232,7 +232,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> unsigned long flags; u32 if_cfg = 0; u32 if_xbar = 0x543210; -@@ -1038,31 +1107,56 @@ static void vc5_hdmi_csc_setup(struct vc +@@ -1039,31 +1108,56 @@ static void vc5_hdmi_csc_setup(struct vc switch (vc4_state->output_format) { case VC4_HDMI_OUTPUT_YUV444: |