drm/amd/display: try to find matching audio inst for enc inst first
authorCharlene Liu <charlene.liu@amd.com>
Wed, 15 Nov 2017 23:55:57 +0000 (18:55 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Dec 2017 15:51:29 +0000 (10:51 -0500)
commitf033680df696be9020fcc85bc649879988415c64
treee182e57571786971504f68248882d989e2709d53
parentc984d06b7bca3b0451faa5e0c323e4ff16b365b3
drm/amd/display: try to find matching audio inst for enc inst first

[Description]
in eDP+ HDMI/DP clone or extended configuration, audio inst changed from inst 1 to inst0.
No failure related this though, just playback device endpoint inst changed.
Also  remove one addition register read.

Signed-off-by: Charlene Liu <charlene.liu@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c