drm/radeon: add Oland chip family
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 18 Dec 2012 22:01:35 +0000 (17:01 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 2 Feb 2013 00:34:23 +0000 (19:34 -0500)
Oland is a new asic in the SI family.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_device.c
drivers/gpu/drm/radeon/radeon_family.h

index 307d681b34434ff87ab38a194c8c6a10675f2c23..59bfbd3868c9300a4c419bd337a8de52535efe85 100644 (file)
@@ -1769,6 +1769,7 @@ void r100_pll_errata_after_index(struct radeon_device *rdev);
 #define ASIC_IS_DCE6(rdev) ((rdev->family >= CHIP_ARUBA))
 #define ASIC_IS_DCE61(rdev) ((rdev->family >= CHIP_ARUBA) && \
                             (rdev->flags & RADEON_IS_IGP))
+#define ASIC_IS_DCE64(rdev) ((rdev->family == CHIP_OLAND))
 
 /*
  * BIOS helpers.
index edfc54e41842248f4dad035c1ece973ca08837b5..6a36f4b67680387b805e8411ec7459dee1fb83e7 100644 (file)
@@ -93,6 +93,7 @@ static const char radeon_family_name[][16] = {
        "TAHITI",
        "PITCAIRN",
        "VERDE",
+       "OLAND",
        "LAST",
 };
 
index d1fafeabea09f1e8b044a37b0cd85d47c0708321..2d91123f2759dd3556310581dda6fa188988e958 100644 (file)
@@ -91,6 +91,7 @@ enum radeon_family {
        CHIP_TAHITI,
        CHIP_PITCAIRN,
        CHIP_VERDE,
+       CHIP_OLAND,
        CHIP_LAST,
 };