drm/amd/display: Update number of dcn21 audio endpoints
authorMichael Strauss <michael.strauss@amd.com>
Tue, 17 Sep 2019 13:02:01 +0000 (09:02 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 11 Oct 2019 00:33:30 +0000 (19:33 -0500)
[WHY]
Number of audio endpoints wasn't updated from dcn20's 6 when created

[HOW]
Changed num_audio to 4 to match the correct sbios value

Signed-off-by: Michael Strauss <michael.strauss@amd.com>
Reviewed-by: Yongqiang Sun <yongqiang.sun@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c

index be864bfd579788f143437446d99a49fba390b04b..cb469f37c1ebb08657036d8cd6d869d22948fd35 100644 (file)
@@ -726,7 +726,7 @@ static const struct resource_caps res_cap_rn = {
                .num_timing_generator = 4,
                .num_opp = 4,
                .num_video_plane = 4,
-               .num_audio = 6, // 6 audio endpoints.  4 audio streams
+               .num_audio = 4, // 4 audio endpoints.  4 audio streams
                .num_stream_encoder = 5,
                .num_pll = 5,  // maybe 3 because the last two used for USB-c
                .num_dwb = 1,