[PATCH] drm/amdkfd: Add DID for Navi12

Liu, Shaoyun Shaoyun.Liu at amd.com
Thu Jul 18 15:17:14 UTC 2019


Add device id for KFD

Change-Id: I44e8e884d0dc86209de7c0b6f4784d06ee371079
Signed-off-by: shaoyunl <shaoyun.liu at amd.com>
---
 drivers/gpu/drm/amd/amdkfd/kfd_device.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device.c b/drivers/gpu/drm/amd/amdkfd/kfd_device.c
index 2514263..cb6bd3a 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_device.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_device.c
@@ -458,6 +458,9 @@ static const struct kfd_deviceid supported_devices[] = {
 	{ 0x7318, &navi10_device_info },	/* Navi10 */
 	{ 0x731a, &navi10_device_info },	/* Navi10 */
 	{ 0x731f, &navi10_device_info },	/* Navi10 */
+	/* Navi12 */
+	{ 0x7360, &navi10_device_info },	/* Navi12 */
+	{ 0x69b0, &navi10_device_info },	/* Navi12 */
 };
 
 static int kfd_gtt_sa_init(struct kfd_dev *kfd, unsigned int buf_size,
-- 
2.7.4



More information about the amd-gfx mailing list