diff options
author | Nicolai Hähnle <[email protected]> | 2017-10-24 11:42:31 +0000 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-07-03 15:51:12 -0400 |
commit | 536782b0b7552c85e57687f205f22f04c67e1145 (patch) | |
tree | 4503b95ccd67bd5b49e49ca090c24055bad966b2 /src/gallium/winsys/amdgpu/drm | |
parent | 677bb80c98276514d3df497d3c88908158794637 (diff) |
amd/common: add GFX10 chips
Acked-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/gallium/winsys/amdgpu/drm')
-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 562759a9210..11dcf942c12 100644 --- a/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c +++ b/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c @@ -65,7 +65,9 @@ static void handle_env_var_force_family(struct amdgpu_winsys *ws) ws->info.family = i; ws->info.name = "GCN-NOOP"; - if (i >= CHIP_VEGA10) + if (i >= CHIP_NAVI10) + ws->info.chip_class = GFX10; + else if (i >= CHIP_VEGA10) ws->info.chip_class = GFX9; else if (i >= CHIP_TONGA) ws->info.chip_class = GFX8; |