]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/display: Decrease stack size in logging path
authorReza Amini <reza.amini@amd.com>
Tue, 12 Aug 2025 14:02:45 +0000 (10:02 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 27 Aug 2025 17:57:49 +0000 (13:57 -0400)
commitdbe88861742ebdb277aaf8963c9bfb876436106c
treef38ff916cc5ac4dffbbfb497da835b6ddd5c89ce
parent90868205b6f21896a62bf99e92ad1fb55eda0e2d
drm/amd/display: Decrease stack size in logging path

[why]
Reducing stack size can avoid stack over flow

[how]
Make local variables const and static so they are not
on the stack.

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Reza Amini <reza.amini@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c