]> 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 22:56:22 +0000 (17:56 -0500)
commit28dfe4317541e57fe52f9a290394cd29c348228b
tree4bb5bef497deb3e52db6427252d6aa4d4e0a37a8
parent64ac7c09fc44985ec9bb6a9db740899fa40ca613
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>
(cherry picked from commit b42dae2ebc5c84a68de63ec4ffdfec49362d53f1)
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/dc/core/dc_stream.c