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 307d681..59bfbd3 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 edfc54e..6a36f4b 100644 (file)
@@ -93,6 +93,7 @@ static const char radeon_family_name[][16] = {
        "TAHITI",
        "PITCAIRN",
        "VERDE",
+       "OLAND",
        "LAST",
 };
 
index d1fafea..2d91123 100644 (file)
@@ -91,6 +91,7 @@ enum radeon_family {
        CHIP_TAHITI,
        CHIP_PITCAIRN,
        CHIP_VERDE,
+       CHIP_OLAND,
        CHIP_LAST,
 };