summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-05-05 01:16:57 +0200
committerEmil Velikov <[email protected]>2017-05-08 11:24:04 +0100
commit9a226fa669bd10502a9305956da2ce85441926bf (patch)
tree314f0e17caf696d00bb3b6a1b991d53138c01c29 /src/gallium
parent41dfe1f275d54f54b30b2b9f1ade7399a82e9228 (diff)
winsys/amdgpu: fix Polaris12 (RX 550) breakage
reported by Greg White. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100892 Cc: 17.1 <[email protected]> (cherry picked from commit 69e6eab6533ff48f72223cd21ef640242c52598b)
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c b/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c
index f3a0c958ed1..44e0f628891 100644
--- a/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c
+++ b/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c
@@ -310,6 +310,7 @@ static bool do_winsys_init(struct amdgpu_winsys *ws, int fd)
case CHIP_POLARIS12:
ws->family = FAMILY_VI;
ws->rev_id = VI_POLARIS12_V_A0;
+ break;
case CHIP_VEGA10:
ws->family = FAMILY_AI;
ws->rev_id = AI_VEGA10_P_A0;