]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Use GFP_ATOMIC in dc_create_stream_for_sink
authorNatalie Vock <natalie.vock@gmx.de>
Mon, 23 Feb 2026 11:45:37 +0000 (12:45 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 25 Feb 2026 21:54:24 +0000 (16:54 -0500)
commitb42dae2ebc5c84a68de63ec4ffdfec49362d53f1
treecb419b984c807b4bf2742349abe295ecb714716d
parentfcec012c664247531aed3e662f4280ff804d1476
drm/amd/display: Use GFP_ATOMIC in dc_create_stream_for_sink

This can be called while preemption is disabled, for example by
dcn32_internal_validate_bw which is called with the FPU active.

Fixes "BUG: scheduling while atomic" messages I encounter on my Navi31
machine.

Signed-off-by: Natalie Vock <natalie.vock@gmx.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_stream.c