diff options
| author | Wenjing Liu <wenjing.liu@amd.com> | 2026-07-09 16:27:16 -0400 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-09-10 12:06:14 -0400 |
| commit | 7e3422ee337f9f77773e30aaa89cb7ad60a48dac (patch) | |
| tree | 90a9437d9e306ea42bf60cc81f3f3974c63101d4 /tools/perf/scripts/python | |
| parent | 285a363f8c63f0157c49fe23312a669689d95a8f (diff) | |
| download | linux-7e3422ee337f9f77773e30aaa89cb7ad60a48dac.tar.gz linux-7e3422ee337f9f77773e30aaa89cb7ad60a48dac.zip | |
drm/amd/display: Add dml2_core_dcn6_calcs function pointer table
[Why]
DCN6 core mode support/programming call DCN5 and DCN6 calcs
functions directly by name. The calcs layer needs one seam the
funcs layer can go through instead of hardcoding a generation.
[How]
Add union dml2_core_calcs holding one function pointer table
per generation, plus a calcs field on dml2_core_instance and on
the mode support/programming contexts.
Add dml2_core_dcn6_calcs.c/.h defining struct
dml2_core_dcn6_calcs, a flat table covering every DCN6 calcs
function and every DCN5 calcs function DCN6 reuses, and
dml2_core_dcn6_calcs_init() to populate it.
Call dml2_core_dcn6_calcs_init() from
dml2_core_dcn6_funcs_initialize().
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
