diff options
| author | 2026-07-09 16:46:24 -0400 | |
|---|---|---|
| committer | 2026-09-10 12:06:28 -0400 | |
| commit | 67b42763138c5f1d700d1bd1c94d4df58965b55a (patch) | |
| tree | 3616b3017d72cb0ea1d222245ff8679bbf62e333 /scripts/Makefile.thinlto | |
| parent | drm/amd/display: Add dml2_core_dcn6_calcs function pointer table (diff) | |
drm/amd/display: Route DCN6 mode support calcs through function pointer table
[Why]
dml2_core_dcn6_funcs_mode_support.c called DCN5 and DCN6 calcs
functions directly by name, coupling the mode support flow to
specific generations. Routing through the calcs table lets a
future core generation reuse this flow without editing it.
[How]
Add a static get_calcs(ctx) helper returning ctx->calcs->dcn6.
Replace every direct dcn5_*/dcn6_* calcs call with
get_calcs(ctx)->slot(...). Assign calc_ms_ctx->calcs from
core->calcs when the context is built. Drop the now-unused
dml2_core_dcn5_calcs_dchub.h, dml2_core_dcn5_calcs_display_pipe.h,
and dml2_core_dcn6_calcs_dchub.h includes in favor of
dml2_core_dcn6_calcs.h.
Reviewed-by: Austin Zheng <austin.zheng@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Signed-off-by: Ray Wu <ray.wu@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
