]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
6.1-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Dec 2025 15:48:46 +0000 (16:48 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Dec 2025 15:48:46 +0000 (16:48 +0100)
added patches:
drm-amd-display-use-gfp_atomic-in-dc_create_plane_state.patch

queue-6.1/drm-amd-display-use-gfp_atomic-in-dc_create_plane_state.patch [new file with mode: 0644]
queue-6.1/series

diff --git a/queue-6.1/drm-amd-display-use-gfp_atomic-in-dc_create_plane_state.patch b/queue-6.1/drm-amd-display-use-gfp_atomic-in-dc_create_plane_state.patch
new file mode 100644 (file)
index 0000000..45bea60
--- /dev/null
@@ -0,0 +1,32 @@
+From 3c41114dcdabb7b25f5bc33273c6db9c7af7f4a7 Mon Sep 17 00:00:00 2001
+From: Alex Deucher <alexander.deucher@amd.com>
+Date: Tue, 11 Nov 2025 11:17:22 -0500
+Subject: drm/amd/display: Use GFP_ATOMIC in dc_create_plane_state()
+
+From: Alex Deucher <alexander.deucher@amd.com>
+
+commit 3c41114dcdabb7b25f5bc33273c6db9c7af7f4a7 upstream.
+
+This can get called from an atomic context.
+
+Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4470
+Reviewed-by: Harry Wentland <harry.wentland@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+(cherry picked from commit 8acdad9344cc7b4e7bc01f0dfea80093eb3768db)
+Cc: stable@vger.kernel.org
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ drivers/gpu/drm/amd/display/dc/core/dc_surface.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/gpu/drm/amd/display/dc/core/dc_surface.c
++++ b/drivers/gpu/drm/amd/display/dc/core/dc_surface.c
+@@ -104,7 +104,7 @@ void enable_surface_flip_reporting(struc
+ struct dc_plane_state *dc_create_plane_state(struct dc *dc)
+ {
+       struct dc_plane_state *plane_state = kvzalloc(sizeof(*plane_state),
+-                                                      GFP_KERNEL);
++                                                      GFP_ATOMIC);
+       if (NULL == plane_state)
+               return NULL;
index ec670e8058b06811cbc9acc5ea5cb941e81fa226..42dfb91371679c72a65af1983a65a6eba3939ce3 100644 (file)
@@ -375,3 +375,4 @@ svcrdma-return-0-on-success-from-svc_rdma_copy_inline_range.patch
 powerpc-kexec-enable-smt-before-waking-offline-cpus.patch
 io_uring-poll-correctly-handle-io_poll_add-return-value-on-update.patch
 io_uring-fix-filename-leak-in-__io_openat_prep.patch
+drm-amd-display-use-gfp_atomic-in-dc_create_plane_state.patch