Commit b5d9d726 authored by Alex Deucher's avatar Alex Deucher

drm/radeon: add chip family for Hainan

Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
parent 731da21b
...@@ -1838,6 +1838,7 @@ void r100_pll_errata_after_index(struct radeon_device *rdev); ...@@ -1838,6 +1838,7 @@ void r100_pll_errata_after_index(struct radeon_device *rdev);
#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)) #define ASIC_IS_DCE64(rdev) ((rdev->family == CHIP_OLAND))
#define ASIC_IS_NODCE(rdev) ((rdev->family == CHIP_HAINAN))
/* /*
* BIOS helpers. * BIOS helpers.
......
...@@ -94,6 +94,7 @@ static const char radeon_family_name[][16] = { ...@@ -94,6 +94,7 @@ static const char radeon_family_name[][16] = {
"PITCAIRN", "PITCAIRN",
"VERDE", "VERDE",
"OLAND", "OLAND",
"HAINAN",
"LAST", "LAST",
}; };
......
...@@ -92,6 +92,7 @@ enum radeon_family { ...@@ -92,6 +92,7 @@ enum radeon_family {
CHIP_PITCAIRN, CHIP_PITCAIRN,
CHIP_VERDE, CHIP_VERDE,
CHIP_OLAND, CHIP_OLAND,
CHIP_HAINAN,
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