2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 20:23:57 +08:00

drm/radeon: add Oland chip family

Oland is a new asic in the SI family.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Alex Deucher 2012-12-18 17:01:35 -05:00
parent df16004447
commit 624d35242a
3 changed files with 3 additions and 0 deletions

View 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_DCE6(rdev) ((rdev->family >= CHIP_ARUBA))
#define ASIC_IS_DCE61(rdev) ((rdev->family >= CHIP_ARUBA) && \ #define ASIC_IS_DCE61(rdev) ((rdev->family >= CHIP_ARUBA) && \
(rdev->flags & RADEON_IS_IGP)) (rdev->flags & RADEON_IS_IGP))
#define ASIC_IS_DCE64(rdev) ((rdev->family == CHIP_OLAND))
/* /*
* BIOS helpers. * BIOS helpers.

View File

@ -93,6 +93,7 @@ static const char radeon_family_name[][16] = {
"TAHITI", "TAHITI",
"PITCAIRN", "PITCAIRN",
"VERDE", "VERDE",
"OLAND",
"LAST", "LAST",
}; };

View File

@ -91,6 +91,7 @@ enum radeon_family {
CHIP_TAHITI, CHIP_TAHITI,
CHIP_PITCAIRN, CHIP_PITCAIRN,
CHIP_VERDE, CHIP_VERDE,
CHIP_OLAND,
CHIP_LAST, CHIP_LAST,
}; };