diff options
author | Marek Olšák <[email protected]> | 2017-02-27 22:26:10 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-05-15 13:00:26 +0200 |
commit | 7622181cade48d3b389024b6ce3e4e177073964e (patch) | |
tree | edebd01a81fe1e4e623e4ec7f3ed36468d920f5b /src/gallium/winsys | |
parent | efdb378c3688b897bdbec11218cdc9ee5e801bbd (diff) |
radeonsi/gfx9: add support for Raven
Cc: 17.1 <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r-- | src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c b/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c index 44e0f628891..70319db80dc 100644 --- a/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c +++ b/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c @@ -315,6 +315,10 @@ static bool do_winsys_init(struct amdgpu_winsys *ws, int fd) ws->family = FAMILY_AI; ws->rev_id = AI_VEGA10_P_A0; break; + case CHIP_RAVEN: + ws->family = FAMILY_RV; + ws->rev_id = RAVEN_A0; + break; default: fprintf(stderr, "amdgpu: Unknown family.\n"); goto fail; |