Commit 8848f759 authored by Alex Deucher's avatar Alex Deucher Committed by Dave Airlie

drm/radeon/kms: add trinity (TN) chip family

Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent fc7dbcc3
...@@ -1688,7 +1688,9 @@ void r100_pll_errata_after_index(struct radeon_device *rdev); ...@@ -1688,7 +1688,9 @@ void r100_pll_errata_after_index(struct radeon_device *rdev);
#define ASIC_IS_DCE41(rdev) ((rdev->family >= CHIP_PALM) && \ #define ASIC_IS_DCE41(rdev) ((rdev->family >= CHIP_PALM) && \
(rdev->flags & RADEON_IS_IGP)) (rdev->flags & RADEON_IS_IGP))
#define ASIC_IS_DCE5(rdev) ((rdev->family >= CHIP_BARTS)) #define ASIC_IS_DCE5(rdev) ((rdev->family >= CHIP_BARTS))
#define ASIC_IS_DCE6(rdev) ((rdev->family >= CHIP_TAHITI)) #define ASIC_IS_DCE6(rdev) ((rdev->family >= CHIP_ARUBA))
#define ASIC_IS_DCE61(rdev) ((rdev->family >= CHIP_ARUBA) && \
(rdev->flags & RADEON_IS_IGP))
/* /*
* BIOS helpers. * BIOS helpers.
......
...@@ -89,6 +89,7 @@ static const char radeon_family_name[][16] = { ...@@ -89,6 +89,7 @@ static const char radeon_family_name[][16] = {
"TURKS", "TURKS",
"CAICOS", "CAICOS",
"CAYMAN", "CAYMAN",
"ARUBA",
"TAHITI", "TAHITI",
"PITCAIRN", "PITCAIRN",
"VERDE", "VERDE",
......
...@@ -87,6 +87,7 @@ enum radeon_family { ...@@ -87,6 +87,7 @@ enum radeon_family {
CHIP_TURKS, CHIP_TURKS,
CHIP_CAICOS, CHIP_CAICOS,
CHIP_CAYMAN, CHIP_CAYMAN,
CHIP_ARUBA,
CHIP_TAHITI, CHIP_TAHITI,
CHIP_PITCAIRN, CHIP_PITCAIRN,
CHIP_VERDE, CHIP_VERDE,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment