]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drm/radeon: add DCE8 macro for CIK
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 7 Jun 2013 15:37:11 +0000 (11:37 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Jun 2013 21:50:23 +0000 (17:50 -0400)
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon.h

index f5fccbbf78a6075574fe499fda8aeeeb11a7de50..b50a786c851aeada7853e1ad3d6293373c14583a 100644 (file)
@@ -1841,6 +1841,7 @@ void r100_pll_errata_after_index(struct radeon_device *rdev);
                             (rdev->flags & RADEON_IS_IGP))
 #define ASIC_IS_DCE64(rdev) ((rdev->family == CHIP_OLAND))
 #define ASIC_IS_NODCE(rdev) ((rdev->family == CHIP_HAINAN))
+#define ASIC_IS_DCE8(rdev) ((rdev->family >= CHIP_BONAIRE))
 
 /*
  * BIOS helpers.