Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

drm/radeon/kms: add NI chip families

parent 633b9164
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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_DCE41(rdev) ((rdev->family >= CHIP_PALM) && \
			     (rdev->flags & RADEON_IS_IGP))
#define ASIC_IS_DCE5(rdev) ((rdev->family >= CHIP_BARTS))

/*
 * BIOS helpers.
+3 −0
Original line number Diff line number Diff line
@@ -82,6 +82,9 @@ static const char radeon_family_name[][16] = {
	"CYPRESS",
	"HEMLOCK",
	"PALM",
	"BARTS",
	"TURKS",
	"CAICOS",
	"LAST",
};

+3 −0
Original line number Diff line number Diff line
@@ -81,6 +81,9 @@ enum radeon_family {
	CHIP_CYPRESS,
	CHIP_HEMLOCK,
	CHIP_PALM,
	CHIP_BARTS,
	CHIP_TURKS,
	CHIP_CAICOS,
	CHIP_LAST,
};