diff options
| author | Alex Hung <alex.hung@amd.com> | 2026-07-13 14:33:30 -0600 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-07-28 19:17:30 -0400 |
| commit | ff1df0051cb922f6d71a3b6d81130057a2319515 (patch) | |
| tree | 827e5dd932b70b26a9a72fbbf51909d3e3b621f8 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 87a6dab12fc0695dce9c3ba0bb35714c92f26f32 (diff) | |
drm/amd/display: add KUnit tests for audio component get_eld
[WHAT]
Add KUnit coverage for amdgpu_dm_audio_component_get_eld(), one of the
functions reported as untested by gcov.
The tests use the standard DRM KUnit device plus drm_connector_init()
to build a real connector list, then invoke the bound audio component
get_eld callback. They cover the matching-connector ELD copy path, the
writeback-connector skip, and the no-match (disabled) path. A shared
connector funcs table and cleanup action back the fixtures.
Reviewed-by: Bhawanpreet Lakha <bhawanpreet.lakha@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Fangzhi Zuo <jerry.zuo@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/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
