diff options
| author | Austin Zheng <Austin.Zheng@amd.com> | 2025-04-01 21:38:31 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-04-21 18:27:39 +0300 |
| commit | 8fc3959cd4da33d703ceb1166830407b673d8a78 (patch) | |
| tree | 63c78c0ff1f79dc087f9f79d3c5ffa1e01e0cfad /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | |
| parent | 05185812ae3695fe049c14847ce3cbeccff1bf2e (diff) | |
| download | linux-8fc3959cd4da33d703ceb1166830407b673d8a78.tar.xz | |
drm/amd/display: Move Mode Support Prefetch Checks To Its Own Function
[Why]
Large stack size observed in DCN4 mode support when compiling with clang.
Additional instrumentation added by compiler adds to stack size.
dml_core_mode_support ends up going over the stack size limit
due to the size of the function.
[How]
Move checks and calculations for prefetch to its own function.
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Austin Zheng <Austin.Zheng@amd.com>
Signed-off-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Tested-by: Mark Broadworth <mark.broadworth@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions
