winsys/amdgpu: fix Polaris12 (RX 550) breakage
authorMarek Olšák <marek.olsak@amd.com>
Thu, 4 May 2017 23:16:57 +0000 (01:16 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 4 May 2017 23:21:32 +0000 (01:21 +0200)
reported by Greg White.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100892
Cc: 17.1 <mesa-stable@lists.freedesktop.org>
src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c

index f3a0c958ed1e4d077bd3c9a06a0c8f4251f5377b..44e0f628891e94c7bb8ed3952d811f549ddefebf 100644 (file)
@@ -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;