diff options
author | Marek Olšák <[email protected]> | 2020-03-26 22:08:18 -0400 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-06-09 16:17:36 +0000 |
commit | 9538b9a68ed9aa0f8a231d6bf681f6f0a2a9d341 (patch) | |
tree | afb1439c7cfd2603f28972434d8f79ec73bfe043 /src/gallium/winsys | |
parent | 789cdab3b6188aa8c075eb311dbd8c05d6531d3e (diff) |
radeonsi: add support for Sienna Cichlid
Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5383>
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r-- | src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c b/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c index 78816d80d1c..2ef7eaa7642 100644 --- a/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c +++ b/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c @@ -63,7 +63,9 @@ static void handle_env_var_force_family(struct amdgpu_winsys *ws) ws->info.family = i; ws->info.name = "GCN-NOOP"; - if (i >= CHIP_NAVI10) + if (i >= CHIP_SIENNA) + ws->info.chip_class = GFX10_3; + else if (i >= CHIP_NAVI10) ws->info.chip_class = GFX10; else if (i >= CHIP_VEGA10) ws->info.chip_class = GFX9; |