OSDN Git Service

drm/radeon: select audio dto based on encoder id for DCE3
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 29 Jul 2013 22:56:13 +0000 (18:56 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Aug 2013 05:59:09 +0000 (22:59 -0700)
commita76faeeb472b213c92f6fef54ec3cd7246f87f64
tree289d0d6fd9cbbe39923ec5959e881b51004f5dc5
parentac4ae0b99e3d708e90fe39019601d2a91dff7011
drm/radeon: select audio dto based on encoder id for DCE3

commit e1accbf0543eecfdb161131208c3dfefee22d61f upstream.

There are two audio dtos on radeon asics that you can
select between.  Normally, dto0 is used for hdmi and
dto1 for DP, but it seems that the dto is somehow
tied to the encoders on DCE3 asics.

fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=67435

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/r600_hdmi.c