diff options
| author | Alex Hung <alex.hung@amd.com> | 2026-07-13 14:34:09 -0600 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-07-28 19:17:30 -0400 |
| commit | 563c7e12b962af5d71df6d761fd9e1bec8760717 (patch) | |
| tree | 5f521dd0cbad508e2e63f440e2737d245e49bc1f /tools/perf/scripts/python | |
| parent | ff1df0051cb922f6d71a3b6d81130057a2319515 (diff) | |
drm/amd/display: add KUnit tests for audio commit path
[WHAT]
Add KUnit coverage for amdgpu_dm_commit_audio(), the remaining function
reported as untested by gcov.
The tests build hand-rolled drm_atomic_state arrays and back
dc_stream_get_status() with a fake dc->current_state to cover the
removal and addition ELD notifications along with their guard/skip
paths: writeback connector, detached connector, missing new CRTC state,
no modeset, and absent stream status.
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')
0 files changed, 0 insertions, 0 deletions
