diff options
author | Alex Deucher <[email protected]> | 2013-06-07 14:00:11 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2013-06-28 15:15:28 -0400 |
commit | f29f206c93743d421c428383afaa2944f680d9c5 (patch) | |
tree | 42fad739c58c9e7089efbf683a78e55c2b7a92a0 /src/gallium/winsys | |
parent | 5b3f1ea933a7ab6aa09ecdd1529b2baac558804e (diff) |
radeonsi: initial support for CIK chips
Add the infrastructure to differentiate them.
Just treat them like SI for now.
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r-- | src/gallium/winsys/radeon/drm/radeon_drm_winsys.c | 5 | ||||
-rw-r--r-- | src/gallium/winsys/radeon/drm/radeon_winsys.h | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c index 0eec984565f..033e78f7971 100644 --- a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c +++ b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c @@ -324,6 +324,11 @@ static boolean do_winsys_init(struct radeon_drm_winsys *ws) case CHIP_HAINAN: ws->info.chip_class = SI; break; + case CHIP_BONAIRE: + case CHIP_KAVERI: + case CHIP_KABINI: + ws->info.chip_class = CIK; + break; } /* Check for dma */ diff --git a/src/gallium/winsys/radeon/drm/radeon_winsys.h b/src/gallium/winsys/radeon/drm/radeon_winsys.h index 8dba64e1819..a619d709754 100644 --- a/src/gallium/winsys/radeon/drm/radeon_winsys.h +++ b/src/gallium/winsys/radeon/drm/radeon_winsys.h @@ -125,6 +125,9 @@ enum radeon_family { CHIP_VERDE, CHIP_OLAND, CHIP_HAINAN, + CHIP_BONAIRE, + CHIP_KAVERI, + CHIP_KABINI, CHIP_LAST, }; @@ -138,6 +141,7 @@ enum chip_class { EVERGREEN, CAYMAN, SI, + CIK, }; enum ring_type { |