From: Greg Kroah-Hartman Date: Mon, 29 Dec 2025 15:48:38 +0000 (+0100) Subject: 5.15-stable patches X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c65ad50d58e16c80d63c8939a9c4299b6b065cf2;p=thirdparty%2Fkernel%2Fstable-queue.git 5.15-stable patches added patches: drm-amd-display-use-gfp_atomic-in-dc_create_plane_state.patch --- diff --git a/queue-5.15/drm-amd-display-use-gfp_atomic-in-dc_create_plane_state.patch b/queue-5.15/drm-amd-display-use-gfp_atomic-in-dc_create_plane_state.patch new file mode 100644 index 0000000000..45bea60f22 --- /dev/null +++ b/queue-5.15/drm-amd-display-use-gfp_atomic-in-dc_create_plane_state.patch @@ -0,0 +1,32 @@ +From 3c41114dcdabb7b25f5bc33273c6db9c7af7f4a7 Mon Sep 17 00:00:00 2001 +From: Alex Deucher +Date: Tue, 11 Nov 2025 11:17:22 -0500 +Subject: drm/amd/display: Use GFP_ATOMIC in dc_create_plane_state() + +From: Alex Deucher + +commit 3c41114dcdabb7b25f5bc33273c6db9c7af7f4a7 upstream. + +This can get called from an atomic context. + +Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4470 +Reviewed-by: Harry Wentland +Signed-off-by: Alex Deucher +(cherry picked from commit 8acdad9344cc7b4e7bc01f0dfea80093eb3768db) +Cc: stable@vger.kernel.org +Signed-off-by: Greg Kroah-Hartman +--- + 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; diff --git a/queue-5.15/series b/queue-5.15/series index e7a078e4e9..6925eb7974 100644 --- a/queue-5.15/series +++ b/queue-5.15/series @@ -323,3 +323,4 @@ fsnotify-do-not-generate-access-modify-events-on-child-for-special-files.patch nfsd-mark-variable-__maybe_unused-to-avoid-w-1-build-break.patch svcrdma-return-0-on-success-from-svc_rdma_copy_inline_range.patch io_uring-fix-filename-leak-in-__io_openat_prep.patch +drm-amd-display-use-gfp_atomic-in-dc_create_plane_state.patch