]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/display: use GFP_NOWAIT for allocation in interrupt handler
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Thu, 25 Sep 2025 14:23:59 +0000 (10:23 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Nov 2025 20:37:49 +0000 (15:37 -0500)
commitbc215236e37bd9cb8e47cb4d719c5d2cc906bfc1
treef42906c3005660837d18264722f3508d48288581
parentb47260ed4debb1450105b7bc5a63896607e910d6
drm/amd/display: use GFP_NOWAIT for allocation in interrupt handler

commit 72a1eb3cf573ab957ae412f0efb0cf6ff0876234 upstream.

schedule_dc_vmin_vmax() is called by dm_crtc_high_irq(). Hence, we
cannot have the former sleep. Use GFP_NOWAIT for allocation in this
function.

Fixes: c210b757b400 ("drm/amd/display: fix dmub access race condition")
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Sun peng (Leo) Li <sunpeng.li@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit c04812cbe2f247a1c1e53a9b6c5e659963fe4065)
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c