OSDN Git Service

drm/amd/display: audio endpoint cannot switch
authorPaul Hsieh <paul.hsieh@amd.com>
Tue, 1 Oct 2019 09:06:04 +0000 (17:06 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Oct 2019 20:50:08 +0000 (16:50 -0400)
commitf24b0522da181a00003ef138766a366973bf664d
treea0ac67ee55d4c536cbc417df2ae891e49495d823
parentff86391ee626434180d6059352fbb292780b3efd
drm/amd/display: audio endpoint cannot switch

[Why]
On some systems, we need to check the dcn version in runtime
system, not in compile time.

[How]
Stub in dcn version parameter to find_first_free_audio

Signed-off-by: Paul Hsieh <paul.hsieh@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c