summaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-04-18 14:32:39 (GMT)
committerAlex Deucher <alexander.deucher@amd.com>2013-04-23 22:03:52 (GMT)
commit26250e65fdabf4d406dc7846da7f948748cbb922 (patch)
tree403b4adff64ba479056905858e4dcf4493635dd2 /drivers/gpu
parentb05e9e4c9d5d0d32357468b64d72101b0fb2b650 (diff)
downloadlinux-fsl-qoriq-26250e65fdabf4d406dc7846da7f948748cbb922.tar.xz
drm/radeon: clean up audio supported check
Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/radeon/r600_audio.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gpu/drm/radeon/r600_audio.c b/drivers/gpu/drm/radeon/r600_audio.c
index cb03fe2..72561e4 100644
--- a/drivers/gpu/drm/radeon/r600_audio.c
+++ b/drivers/gpu/drm/radeon/r600_audio.c
@@ -57,10 +57,7 @@ static bool radeon_dig_encoder(struct drm_encoder *encoder)
*/
static int r600_audio_chipset_supported(struct radeon_device *rdev)
{
- return (rdev->family >= CHIP_R600 && !ASIC_IS_DCE6(rdev))
- || rdev->family == CHIP_RS600
- || rdev->family == CHIP_RS690
- || rdev->family == CHIP_RS740;
+ return ASIC_IS_DCE2(rdev) && !ASIC_IS_DCE6(rdev);
}
struct r600_audio r600_audio_status(struct radeon_device *rdev)