summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorWenjing Liu <wenjing.liu@amd.com>2026-06-09 22:21:16 -0400
committerAlex Deucher <alexander.deucher@amd.com>2026-07-01 11:31:10 -0400
commit7a39b1c3b2e6b27f4230a20ccf9ac5a2737fa8b0 (patch)
treee7cdbdb9262e7c3fad459f27adfa402ad524a448 /tools/perf/scripts/python/bin/stackcollapse-report
parentd37d3555ddec6a8f9ec91a7c204e3358446dc86f (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 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions