From: Greg Kroah-Hartman Date: Mon, 26 Aug 2024 13:53:15 +0000 (+0200) Subject: 5.10-stable patches X-Git-Tag: v6.1.107~32 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ee7d4f0788fb1ab9b5d63a44a791fb8f830b747a;p=thirdparty%2Fkernel%2Fstable-queue.git 5.10-stable patches added patches: revert-drm-amd-display-validate-hw_points_num-before-using-it.patch --- diff --git a/queue-5.10/revert-drm-amd-display-validate-hw_points_num-before-using-it.patch b/queue-5.10/revert-drm-amd-display-validate-hw_points_num-before-using-it.patch new file mode 100644 index 00000000000..04039933f8c --- /dev/null +++ b/queue-5.10/revert-drm-amd-display-validate-hw_points_num-before-using-it.patch @@ -0,0 +1,34 @@ +From 8f4bdbc8e99db6ec9cb0520748e49a2f2d7d1727 Mon Sep 17 00:00:00 2001 +From: Alex Hung +Date: Wed, 11 Oct 2023 13:18:38 -0600 +Subject: Revert "drm/amd/display: Validate hw_points_num before using it" + +From: Alex Hung + +commit 8f4bdbc8e99db6ec9cb0520748e49a2f2d7d1727 upstream. + +This reverts commit 58c3b3341cea4f75dc8c003b89f8a6dd8ec55e50. + +[WHY & HOW] +The writeback series cause a regression in thunderbolt display. + +Signed-off-by: Alex Hung +Reviewed-by: Harry Wentland +Signed-off-by: Alex Deucher +Signed-off-by: Greg Kroah-Hartman +--- + drivers/gpu/drm/amd/display/dc/dcn30/dcn30_dwb_cm.c | 3 --- + 1 file changed, 3 deletions(-) + +--- a/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_dwb_cm.c ++++ b/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_dwb_cm.c +@@ -243,9 +243,6 @@ static bool dwb3_program_ogam_lut( + return false; + } + +- if (params->hw_points_num == 0) +- return false; +- + REG_SET(DWB_OGAM_CONTROL, 0, DWB_OGAM_MODE, 2); + + current_mode = dwb3_get_ogam_current(dwbc30); diff --git a/queue-5.10/series b/queue-5.10/series index 889a4d5f791..c346172e584 100644 --- a/queue-5.10/series +++ b/queue-5.10/series @@ -114,3 +114,4 @@ hid-microsoft-add-rumble-support-to-latest-xbox-controllers.patch cxgb4-add-forgotten-u64-ivlan-cast-before-shift.patch kvm-arm64-make-icc_-sgi-_el1-undef-in-the-absence-of-a-vgicv3.patch mmc-dw_mmc-allow-biu-and-ciu-clocks-to-defer.patch +revert-drm-amd-display-validate-hw_points_num-before-using-it.patch