]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Use dce_audio_create for DCE 6
authorTimur Kristóf <timur.kristof@gmail.com>
Sun, 18 Jan 2026 17:31:46 +0000 (18:31 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 23 Feb 2026 19:24:39 +0000 (14:24 -0500)
commita1d3efc329b45318721a4b1e1f893322ba82c876
treea3696bd0cdcdfb5dae0153fdd0fcfcb3b2347b9e
parent619cf5be962f868f9225225e028edd1370296c90
drm/amd/display: Use dce_audio_create for DCE 6

The only difference between DCE 6 and other DCE versions is
that DCE 6 doesn't support DCCG_AUDIO_DTO2_USE_512FBR_DTO.
Recently a check was added to dce_aud_wall_dto_setup() to
check that. So now DCE 6 can just use dce_aud_wall_dto_setup()
just like other DCE versions.

Clean up DCE 6 specific audio functions which were otherwise
identical to the rest.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Rodrigo Siqueira <siqueira@igalia.com>
Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_audio.c
drivers/gpu/drm/amd/display/dc/dce/dce_audio.h
drivers/gpu/drm/amd/display/dc/resource/dce60/dce60_resource.c