dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: alexdeucher@gmail.com
To: dri-devel@lists.freedesktop.org
Cc: Alex Deucher <alexander.deucher@amd.com>
Subject: [PATCH 1/3] drm/radeon: clean up audio supported check
Date: Thu, 18 Apr 2013 11:35:41 -0400	[thread overview]
Message-ID: <1366299343-28669-2-git-send-email-alexdeucher@gmail.com> (raw)
In-Reply-To: <1366299343-28669-1-git-send-email-alexdeucher@gmail.com>

From: Alex Deucher <alexander.deucher@amd.com>

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/radeon/r600_audio.c |    5 +----
 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)
-- 
1.7.7.5

  reply	other threads:[~2013-04-18 15:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-18 15:35 [PATCH 0/3] Additional radeon audio cleanups alexdeucher
2013-04-18 15:35 ` alexdeucher [this message]
2013-04-19  6:13   ` [PATCH 1/3] drm/radeon: clean up audio supported check Rafał Miłecki
2013-04-18 15:35 ` [PATCH 2/3] drm/radeon: clean up audio dto programming alexdeucher
2013-04-19  6:10   ` Rafał Miłecki
2013-04-19 13:51     ` Alex Deucher
2013-04-21 19:54       ` Rafał Miłecki
2013-04-22  5:43       ` Rafał Miłecki
2013-04-22 12:38         ` Alex Deucher
2013-04-18 15:35 ` [PATCH 3/3] drm/radeon: switch audio handling to use callbacks alexdeucher
2013-04-21 19:51   ` Rafał Miłecki
2013-04-18 16:34 ` [PATCH 0/3] Additional radeon audio cleanups Christian König

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1366299343-28669-2-git-send-email-alexdeucher@gmail.com \
    --to=alexdeucher@gmail.com \
    --cc=alexander.deucher@amd.com \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox