]> git.ipfire.org Git - thirdparty/kernel/linux.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)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 20 Oct 2025 22:22:08 +0000 (18:22 -0400)
commitc04812cbe2f247a1c1e53a9b6c5e659963fe4065
treed870e33234c9d1a290d268f2a461654eba7d490b
parent08f68d93fae8e47421fd5c7e20cf9deeb8c19f85
drm/amd/display: use GFP_NOWAIT for allocation in interrupt handler

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>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c