From: Charlene Liu <[email protected]>

[why]
This reverts commit c30259abddf924533e9452f71ee03819fd6e949d.

Signed-off-by: Martin Leung <[email protected]>
Reviewed-by: Martin Leung <[email protected]>
Acked-by: Rodrigo Siqueira <[email protected]>
---
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 
b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
index ede0723e667d..9e1d2b2e58f9 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
@@ -1324,13 +1324,6 @@ static void read_dce_straps(
 static struct audio *dcn20_create_audio(
                struct dc_context *ctx, unsigned int inst)
 {
-       /* Navi 14 has no DIGD */
-       if (ASICREV_IS_NAVI14_M(ctx->asic_id.hw_internal_rev)) {
-               if (inst >= ENGINE_ID_DIGD) {
-                       inst++;
-               }
-       }
-
        return dce_audio_create(ctx, inst,
                        &audio_regs[inst], &audio_shift, &audio_mask);
 }
-- 
2.26.0

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to