]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Tue, 28 Nov 2017 22:55:56 +0000 (17:55 -0500)
commitf3fbc7bec91923083c25ed1e135650a14d120481
treee758c5e473792afcf24c6b4ba25a17a0691623ed
parent1c48e1d73fe9b1ba2411cb7d95ee1aee1af54d60
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/core/dc_resource.c
drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c