From: Greg Kroah-Hartman Date: Mon, 29 Dec 2025 15:48:26 +0000 (+0100) Subject: 5.10-stable patches X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38caf2aac85ee5ed8343836c064557c6ab8dde10;p=thirdparty%2Fkernel%2Fstable-queue.git 5.10-stable patches added patches: drm-amd-display-use-gfp_atomic-in-dc_create_plane_state.patch --- diff --git a/queue-5.10/drm-amd-display-use-gfp_atomic-in-dc_create_plane_state.patch b/queue-5.10/drm-amd-display-use-gfp_atomic-in-dc_create_plane_state.patch new file mode 100644 index 0000000000..45bea60f22 --- /dev/null +++ b/queue-5.10/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.10/series b/queue-5.10/series index cba6bc730e..3d406caa62 100644 --- a/queue-5.10/series +++ b/queue-5.10/series @@ -260,3 +260,4 @@ pm-runtime-do-not-clear-needs_force_resume-with-enabled-runtime-pm.patch 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 io_uring-fix-filename-leak-in-__io_openat_prep.patch +drm-amd-display-use-gfp_atomic-in-dc_create_plane_state.patch