提交 26250e65 编写于 作者: A Alex Deucher

drm/radeon: clean up audio supported check

Reviewed-by: NChristian König <christian.koenig@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 b05e9e4c
...@@ -57,10 +57,7 @@ static bool radeon_dig_encoder(struct drm_encoder *encoder) ...@@ -57,10 +57,7 @@ static bool radeon_dig_encoder(struct drm_encoder *encoder)
*/ */
static int r600_audio_chipset_supported(struct radeon_device *rdev) static int r600_audio_chipset_supported(struct radeon_device *rdev)
{ {
return (rdev->family >= CHIP_R600 && !ASIC_IS_DCE6(rdev)) return ASIC_IS_DCE2(rdev) && !ASIC_IS_DCE6(rdev);
|| rdev->family == CHIP_RS600
|| rdev->family == CHIP_RS690
|| rdev->family == CHIP_RS740;
} }
struct r600_audio r600_audio_status(struct radeon_device *rdev) struct r600_audio r600_audio_status(struct radeon_device *rdev)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册