]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Fix GFP_ATOMIC abuse
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Fri, 3 Oct 2025 20:06:53 +0000 (16:06 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 20 Oct 2025 22:26:08 +0000 (18:26 -0400)
commit919c835027e2530e6fad3957d7291ffb3bba1b00
tree613e07769aaad29ba161ad60d6a4efb3a83c03bc
parent6588766d08e35b692d839194af581f06cb7b77c6
drm/amd/display: Fix GFP_ATOMIC abuse

There is a lot GFP_ATOMIC allocations which are not in interrupt
context. Change them to use GFP_KERNEL instead.

Reviewed-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/dc/dccg/dcn20/dcn20_dccg.c
drivers/gpu/drm/amd/display/dc/dce/dce_abm.c
drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c
drivers/gpu/drm/amd/display/dc/resource/dcn20/dcn20_resource.c
drivers/gpu/drm/amd/display/dc/resource/dcn201/dcn201_resource.c