Commit 1fe18305 authored by Alex Deucher's avatar Alex Deucher Committed by Dave Airlie

drm/radeon/kms: add NI chip families

Signed-off-by: default avatarAlex Deucher <alexdeucher@gmail.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 633b9164
...@@ -1337,6 +1337,7 @@ void r100_pll_errata_after_index(struct radeon_device *rdev); ...@@ -1337,6 +1337,7 @@ void r100_pll_errata_after_index(struct radeon_device *rdev);
#define ASIC_IS_DCE4(rdev) ((rdev->family >= CHIP_CEDAR)) #define ASIC_IS_DCE4(rdev) ((rdev->family >= CHIP_CEDAR))
#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))
/* /*
* BIOS helpers. * BIOS helpers.
......
...@@ -82,6 +82,9 @@ static const char radeon_family_name[][16] = { ...@@ -82,6 +82,9 @@ static const char radeon_family_name[][16] = {
"CYPRESS", "CYPRESS",
"HEMLOCK", "HEMLOCK",
"PALM", "PALM",
"BARTS",
"TURKS",
"CAICOS",
"LAST", "LAST",
}; };
......
...@@ -81,6 +81,9 @@ enum radeon_family { ...@@ -81,6 +81,9 @@ enum radeon_family {
CHIP_CYPRESS, CHIP_CYPRESS,
CHIP_HEMLOCK, CHIP_HEMLOCK,
CHIP_PALM, CHIP_PALM,
CHIP_BARTS,
CHIP_TURKS,
CHIP_CAICOS,
CHIP_LAST, CHIP_LAST,
}; };
......
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