diff options
| author | 2026-06-09 22:21:16 -0400 | |
|---|---|---|
| committer | 2026-07-01 11:31:10 -0400 | |
| commit | 7a39b1c3b2e6b27f4230a20ccf9ac5a2737fa8b0 (patch) | |
| tree | e7cdbdb9262e7c3fad459f27adfa402ad524a448 /scripts/Makefile.thinlto | |
| parent | drm/amd/display: Update link bw (diff) | |
drm/amd/display: Replace repeated no-native-i2c checks with force_i2c_over_aux field
[Why]
The compound condition checking dp_connector_no_native_i2c
and no_ddc_pin was duplicated across many files, obscuring
intent at every call site.
[How]
Add bool force_i2c_over_aux to struct dc_link, initialized
once during link creation. Add link_get_ddc_aux_inst()
helper to select the correct aux instance. Wire into
link_service via construct_link_service_ddc(). Replace all
duplicated condition checks and aux instance selection
blocks with the new field and helper. No functional change.
Reviewed-by: Nevenko Stupar <nevenko.stupar@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Signed-off-by: George Zhang <george.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
