From 7505893cc7a6aedf6718c985373ad5e38b94c475 Mon Sep 17 00:00:00 2001 From: Felix Kuehling Date: Fri, 2 Oct 2015 12:40:04 -0400 Subject: [PATCH] Add all gfx802 device IDs to supported_devices Without this, queue creation segfaults on unknown devices. Change-Id: Ieea0bc4783e7313b3dcdabf03ab1269e3670b217 --- src/queues.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/queues.c b/src/queues.c index 68aece0694..bf0f7e0f1f 100644 --- a/src/queues.c +++ b/src/queues.c @@ -107,8 +107,15 @@ struct device_id supported_devices[] = { { 0x9875, &carrizo_device_info }, /* Carrizo */ { 0x9876, &carrizo_device_info }, /* Carrizo */ { 0x9877, &carrizo_device_info }, /* Carrizo */ - { 0x6939, &tonga_device_info }, + { 0x6920, &tonga_device_info }, + { 0x6921, &tonga_device_info }, + { 0x6928, &tonga_device_info }, + { 0x6929, &tonga_device_info }, { 0x692b, &tonga_device_info }, + { 0x692f, &tonga_device_info }, + { 0x6930, &tonga_device_info }, + { 0x6938, &tonga_device_info }, + { 0x6939, &tonga_device_info }, { 0, NULL } };