From 62d4e557ed4a6f41e7d55b412e43e85eab1ae8d0 Mon Sep 17 00:00:00 2001 From: shaoyunl Date: Mon, 9 May 2016 16:02:00 -0400 Subject: [PATCH] libhsakmt: Add new device id for virtualized function of gfx803 Signed-off-by: Shaoyun Liu Change-Id: I90b0bdaeaed8e9e80375e5a7a142205f2a542289 [ROCm/ROCR-Runtime commit: 16d5aa0d8397fd91ce720f5005205c306b542ed8] --- projects/rocr-runtime/src/queues.c | 1 + projects/rocr-runtime/src/topology.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/projects/rocr-runtime/src/queues.c b/projects/rocr-runtime/src/queues.c index 505d8dbd0f..9c1acdd01d 100644 --- a/projects/rocr-runtime/src/queues.c +++ b/projects/rocr-runtime/src/queues.c @@ -150,6 +150,7 @@ struct device_id supported_devices[] = { { 0x6938, &tonga_device_info }, { 0x6939, &tonga_device_info }, { 0x7300, &fiji_device_info }, + { 0x730f, &fiji_device_info }, { 0, NULL } }; diff --git a/projects/rocr-runtime/src/topology.c b/projects/rocr-runtime/src/topology.c index 605da25985..409ffdc5e8 100644 --- a/projects/rocr-runtime/src/topology.c +++ b/projects/rocr-runtime/src/topology.c @@ -136,7 +136,8 @@ static struct hsa_gfxip_table { { 0x6938, 8, 0, 2, 1, "Tonga" }, { 0x6939, 8, 0, 2, 1, "Tonga" }, /* Fiji */ - { 0x7300, 8, 0, 3, 1, "Fiji" } + { 0x7300, 8, 0, 3, 1, "Fiji" }, + { 0x730f, 8, 0, 3, 1, "Fiji" } }; enum cache_type {