diff options
| author | 2026-03-11 14:34:30 -0400 | |
|---|---|---|
| committer | 2026-03-30 14:55:08 -0400 | |
| commit | 8424ee7d524965c2ce245d30f7c778763e8c6f54 (patch) | |
| tree | af3d2cdcd409342edc9faf827f4b5999890edec0 /samples/kobject/ssh:/git@git.zx2c4.com | |
| parent | drm/amd/display: Fix Silence Conversion Warnings in Dmub (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 'samples/kobject/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
