diff options
| author | Gabe Teeger <gabe.teeger@amd.com> | 2026-03-11 14:34:30 -0400 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-03-30 14:55:08 -0400 |
| commit | 8424ee7d524965c2ce245d30f7c778763e8c6f54 (patch) | |
| tree | af3d2cdcd409342edc9faf827f4b5999890edec0 /tools/perf/scripts/python/stackcollapse.py | |
| parent | d77ff7331fc34ba84a70914b316a55056d94827d (diff) | |
drm/amd/display: eliminate clock manager code duplication
[Why]
Clock manager contained significant duplicate code between
variants with identical logic for functions using only SMU
calls or shared registers. This increases maintenance overhead
and potential for bugs.
[How]
Expose clock constants and internal functions in header for
sharing. Remove duplicate implementations and update function
pointers to use shared functions. Refactor remaining
variant-specific functions to use shared constants and helper
functions. Add compatibility comments for hardware differences.
Reviewed-by: Dmytro Laktyushkin <dmytro.laktyushkin@amd.com>
Signed-off-by: Gabe Teeger <gabe.teeger@amd.com>
Signed-off-by: Chuanyu Tseng <chuanyu.tseng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
