From patchwork Thu Jan 4 22:17:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felix Kuehling X-Patchwork-Id: 10145683 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5B4BC601A1 for ; Thu, 4 Jan 2018 22:18:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9EEE42885E for ; Thu, 4 Jan 2018 22:18:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9379928862; Thu, 4 Jan 2018 22:18:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.4 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_WEB autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EC72F2885E for ; Thu, 4 Jan 2018 22:18:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753521AbeADWSC (ORCPT ); Thu, 4 Jan 2018 17:18:02 -0500 Received: from mail-by2nam03on0076.outbound.protection.outlook.com ([104.47.42.76]:32062 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753262AbeADWSB (ORCPT ); Thu, 4 Jan 2018 17:18:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=+E8GVCRpYKoBLCSUKM0BafeUD+meCJaV64C8eiX+gOg=; b=mFe+Ncae4SQOCd0Pjx47brLoOWo3JAI6X6pw28R+JxO1enGB8dP91H7BTpxuCuAiSAAHzY1U1I9l+hvVbyg/kSWbf8y4udiyoigsS8+4aDe+/3O/B+PFReRGd1HsN5v/vNFzTLRZeG5cqXxW04WKtXnlcOWi0B9k1UfzExeyMa8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Felix.Kuehling@amd.com; Received: from Harpoon.amd.com (165.204.55.251) by CY4PR1201MB0230.namprd12.prod.outlook.com (10.172.79.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.386.5; Thu, 4 Jan 2018 22:17:59 +0000 From: Felix Kuehling To: amd-gfx@lists.freedesktop.org, oded.gabbay@gmail.com Cc: Felix Kuehling , linux-pci@vger.kernel.org Subject: [PATCH 8/9] drm/amdkfd: Add dGPU device IDs and device info Date: Thu, 4 Jan 2018 17:17:47 -0500 Message-Id: <1515104268-25087-9-git-send-email-Felix.Kuehling@amd.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1515104268-25087-1-git-send-email-Felix.Kuehling@amd.com> References: <1515104268-25087-1-git-send-email-Felix.Kuehling@amd.com> MIME-Version: 1.0 X-Originating-IP: [165.204.55.251] X-ClientProxiedBy: DM5PR06CA0094.namprd06.prod.outlook.com (10.174.189.35) To CY4PR1201MB0230.namprd12.prod.outlook.com (10.172.79.7) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 44ba2811-5de2-4935-afe7-08d553c103e7 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(48565401081)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060); SRVR:CY4PR1201MB0230; X-Microsoft-Exchange-Diagnostics: 1; CY4PR1201MB0230; 3:YMgeGgzNnl/I1B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XokezIKNp0ArchMGPoCmX4Xzt3qmBKC41hqNq9mxKQcIV29cq+iQwHmTbacaSDr+9bdsiyymGEQ83jqH8QNs5e2Yc7fwIbZuUdkzaWTUHoODFIoAFeDVFdKsbVWb6lbEaucEWoDQRCQGDQHJyb8xg8Kz5Yn0dADYZfom4XUvRXo2AaZglFgK730NSVpeAL1zuv+H6/XCbXjHxw/FKnOo+8LxLF7ErTxhyCvrOoECM1Pw+6zfy3tIxzdUVvK4ti7Imi/AsErA5IdiCfPoEKkrgtt9OLk6JWlZUhzOASpiqQgHM4w+Mdvp/1Vmt+fCGUxVe; 4:9FjrCE+RaXznBtL7vY4r1fYMlQBSI5AkByeH6AtTzvno2ISCUl37TcCl4kn9zmCstgL4kx/6slsMAcK41y8HfB8Ltqc6y8iJ7gctnfTjLUx5tEgJcQaHxtQyK7Ft8Ej2ojD2UjvLDU6o8JVNGCYpuIE2T90czz9U45wh6qdQr/ihI18jzA2pa04+fmXvjxFCgsuKmyAhvb8O6X2qmWTdnqgW6sXatfy6RXA0dw3qoRvk8jFLBuc9bqhhYXGXjbOYGAWAoD52YZIAHsE8iyQEPCzTl8j9GJOvitrYJlpErRRi62yjSSBUQul99jfkE69ktEm5PxGp82op31TP2fsoOA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(9452136761055)(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040470)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(3231023)(944501075)(10201501046)(6055026)(6041268)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123558120)(20161123560045)(6072148)(201708071742011); SRVR:CY4PR1201MB0230; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:CY4PR1201MB0230; X-Forefront-PRVS: 054231DC40 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(346002)(39860400002)(39380400002)(366004)(396003)(189003)(199004)(66066001)(36756003)(47776003)(68736007)(478600001)(6116002)(8936002)(3846002)(81166006)(4326008)(53416004)(50226002)(72206003)(39060400002)(25786009)(386003)(16526018)(5660300001)(316002)(8676002)(81156014)(305945005)(7736002)(7696005)(52116002)(6666003)(76176011)(51416003)(2906002)(97736004)(2950100002)(106356001)(105586002)(86362001)(16586007)(6486002)(48376002)(53936002)(50466002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR1201MB0230; H:Harpoon.amd.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR1201MB0230; 23:6DZAmhBej3ypu6OkLbreLPO1Ve0XA3zHurWVC45?= =?us-ascii?Q?CZzjUyiE+o4OTOSBXJq9flJC0CeT4VrRieRjZS9n9fKRS7wpG5TMUcOmFULx?= =?us-ascii?Q?CRC4YMzBHbQ48GG9gJG6RjQiZAQMzGlzRRcdyT26AcC6DMxnmMOTWZOwkSvZ?= =?us-ascii?Q?GuejgoDDQUWxqtqhFUJx04Ck0pCIKukvUK/9lDgdfw6MBcL9KPTgrfS+6aks?= =?us-ascii?Q?Ay5l/r7bx2V+dLhTOdhSuprQ7NJzIxxptbqeXNYCiuIIktDEJ4JbYeTJ4uGg?= =?us-ascii?Q?yz1pqtrcIXuB7B05azv6uuOP43lC0rA0Ed3FCc9SRJ3Zo/ZpBAXb/GxzeGgr?= =?us-ascii?Q?xi64+XjPha6KfQQOfIQXDVUfDPMagoctss56qKEdP/kTDZEkuUnmZUsku1l3?= =?us-ascii?Q?kCL2Yq/PvJEztvjEJxdEsKCjHFuM9ud8BxzH4rZSi733zlSpFVf6LhBPYGsJ?= =?us-ascii?Q?bIKDjuuOunb2/RI/+7ddnYs3PlbPDo8S14KEimnzMkLYdcJ7UZCdGTXxGibj?= =?us-ascii?Q?7PtvsyBV/ixrENQQQa5314lNc2iaBskEO70dskzdGqIcOpYT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OpJetMMWH0+U27rju9gbDhglwn8V4fNU4+Ktw5hBQKwvj29PqRKviwP936SSFchP0gS5ox303eU48BGDNXcuxIztrb7dJTsM4kY3PVa/k8q5j2Mq+qsciYpWqkUvVJQe71GJryb0e/VnWJ2MLvxTuNvRZ3bP+SJWxePzSM8jUY=; 24:o9g99mUdndejbfUEm+6OmeRsmGx3k3vc+UO7metwTryHl7RQ6hJTGk0GVQquMEzMNpIRt6D2DyRQuqhCT3AxyWJHMtwB2Jjb9rIxxGr3cl0=; 7:R1Df3EccOHNSowcofdEGHu5Ilk3U14LNfWQmaRIPAlulI+Ma3IgEVKP0xSD14eJl46K3HwwJoI8C2QehIh5c91HIWbwbPTbNVCwgUZTgEhio3ziVJcBj4ideYXVYig9DPqR4bDrn9rA5nufZyxciqGmoEC8vQ8gmhILAmYxSRpgMmnsoIvBlLzFIx/GQohn1DkE39wmwl+IyZomDRyUVOHYNw8WK0rr5mNI3LU8TgJM3Ny3wA7retAtDwIfMmhVT SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY4PR1201MB0230; 20:pBszNKcObO8aIsZkckp2whP0Zao89W7RV+wJc8TV9kwntVv1rdeOqepFQGpfeqQT0JkveLytScGTp4W9SNwdiFr2Zn0xpvMpS99cRrLjyv01S/nrm1fRqFw2HVSHB60WbA1SRYqczOgu6Z7GQVRaFHWF8XM1a3Ac9z2FxfA3Jq8rqadmURLMg38Nm/9BVYrcNjAThZmbCQIsQ0HcxQXTlYmXj9FJ48dh4X7ZZEr89ThAfQwB+Bv/veEXaxhbpETY X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2018 22:17:59.8664 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 44ba2811-5de2-4935-afe7-08d553c103e7 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1201MB0230 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP CC: linux-pci@vger.kernel.org Signed-off-by: Felix Kuehling Reviewed-by: Oded Gabbay --- drivers/gpu/drm/amd/amdkfd/kfd_device.c | 153 +++++++++++++++++++++++++++++++- 1 file changed, 151 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device.c b/drivers/gpu/drm/amd/amdkfd/kfd_device.c index 6dd50cc..612afaf 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_device.c +++ b/drivers/gpu/drm/amd/amdkfd/kfd_device.c @@ -63,12 +63,118 @@ static const struct kfd_device_info carrizo_device_info = { }; #endif +static const struct kfd_device_info hawaii_device_info = { + .asic_family = CHIP_HAWAII, + .max_pasid_bits = 16, + /* max num of queues for KV.TODO should be a dynamic value */ + .max_no_of_hqd = 24, + .ih_ring_entry_size = 4 * sizeof(uint32_t), + .event_interrupt_class = &event_interrupt_class_cik, + .num_of_watch_points = 4, + .mqd_size_aligned = MQD_SIZE_ALIGNED, + .supports_cwsr = false, + .needs_iommu_device = false, + .needs_pci_atomics = false, +}; + +static const struct kfd_device_info tonga_device_info = { + .asic_family = CHIP_TONGA, + .max_pasid_bits = 16, + .max_no_of_hqd = 24, + .ih_ring_entry_size = 4 * sizeof(uint32_t), + .event_interrupt_class = &event_interrupt_class_cik, + .num_of_watch_points = 4, + .mqd_size_aligned = MQD_SIZE_ALIGNED, + .supports_cwsr = false, + .needs_iommu_device = false, + .needs_pci_atomics = true, +}; + +static const struct kfd_device_info tonga_vf_device_info = { + .asic_family = CHIP_TONGA, + .max_pasid_bits = 16, + .max_no_of_hqd = 24, + .ih_ring_entry_size = 4 * sizeof(uint32_t), + .event_interrupt_class = &event_interrupt_class_cik, + .num_of_watch_points = 4, + .mqd_size_aligned = MQD_SIZE_ALIGNED, + .supports_cwsr = false, + .needs_iommu_device = false, + .needs_pci_atomics = false, +}; + +static const struct kfd_device_info fiji_device_info = { + .asic_family = CHIP_FIJI, + .max_pasid_bits = 16, + .max_no_of_hqd = 24, + .ih_ring_entry_size = 4 * sizeof(uint32_t), + .event_interrupt_class = &event_interrupt_class_cik, + .num_of_watch_points = 4, + .mqd_size_aligned = MQD_SIZE_ALIGNED, + .supports_cwsr = true, + .needs_iommu_device = false, + .needs_pci_atomics = true, +}; + +static const struct kfd_device_info fiji_vf_device_info = { + .asic_family = CHIP_FIJI, + .max_pasid_bits = 16, + .max_no_of_hqd = 24, + .ih_ring_entry_size = 4 * sizeof(uint32_t), + .event_interrupt_class = &event_interrupt_class_cik, + .num_of_watch_points = 4, + .mqd_size_aligned = MQD_SIZE_ALIGNED, + .supports_cwsr = true, + .needs_iommu_device = false, + .needs_pci_atomics = false, +}; + + +static const struct kfd_device_info polaris10_device_info = { + .asic_family = CHIP_POLARIS10, + .max_pasid_bits = 16, + .max_no_of_hqd = 24, + .ih_ring_entry_size = 4 * sizeof(uint32_t), + .event_interrupt_class = &event_interrupt_class_cik, + .num_of_watch_points = 4, + .mqd_size_aligned = MQD_SIZE_ALIGNED, + .supports_cwsr = true, + .needs_iommu_device = false, + .needs_pci_atomics = true, +}; + +static const struct kfd_device_info polaris10_vf_device_info = { + .asic_family = CHIP_POLARIS10, + .max_pasid_bits = 16, + .max_no_of_hqd = 24, + .ih_ring_entry_size = 4 * sizeof(uint32_t), + .event_interrupt_class = &event_interrupt_class_cik, + .num_of_watch_points = 4, + .mqd_size_aligned = MQD_SIZE_ALIGNED, + .supports_cwsr = true, + .needs_iommu_device = false, + .needs_pci_atomics = false, +}; + +static const struct kfd_device_info polaris11_device_info = { + .asic_family = CHIP_POLARIS11, + .max_pasid_bits = 16, + .max_no_of_hqd = 24, + .ih_ring_entry_size = 4 * sizeof(uint32_t), + .event_interrupt_class = &event_interrupt_class_cik, + .num_of_watch_points = 4, + .mqd_size_aligned = MQD_SIZE_ALIGNED, + .supports_cwsr = true, + .needs_iommu_device = false, + .needs_pci_atomics = true, +}; + + struct kfd_deviceid { unsigned short did; const struct kfd_device_info *device_info; }; -/* Please keep this sorted by increasing device id. */ static const struct kfd_deviceid supported_devices[] = { #if defined(CONFIG_AMD_IOMMU_V2_MODULE) || defined(CONFIG_AMD_IOMMU_V2) { 0x1304, &kaveri_device_info }, /* Kaveri */ @@ -97,8 +203,51 @@ static const struct kfd_deviceid supported_devices[] = { { 0x9874, &carrizo_device_info }, /* Carrizo */ { 0x9875, &carrizo_device_info }, /* Carrizo */ { 0x9876, &carrizo_device_info }, /* Carrizo */ - { 0x9877, &carrizo_device_info } /* Carrizo */ + { 0x9877, &carrizo_device_info }, /* Carrizo */ #endif + { 0x67A0, &hawaii_device_info }, /* Hawaii */ + { 0x67A1, &hawaii_device_info }, /* Hawaii */ + { 0x67A2, &hawaii_device_info }, /* Hawaii */ + { 0x67A8, &hawaii_device_info }, /* Hawaii */ + { 0x67A9, &hawaii_device_info }, /* Hawaii */ + { 0x67AA, &hawaii_device_info }, /* Hawaii */ + { 0x67B0, &hawaii_device_info }, /* Hawaii */ + { 0x67B1, &hawaii_device_info }, /* Hawaii */ + { 0x67B8, &hawaii_device_info }, /* Hawaii */ + { 0x67B9, &hawaii_device_info }, /* Hawaii */ + { 0x67BA, &hawaii_device_info }, /* Hawaii */ + { 0x67BE, &hawaii_device_info }, /* Hawaii */ + { 0x6920, &tonga_device_info }, /* Tonga */ + { 0x6921, &tonga_device_info }, /* Tonga */ + { 0x6928, &tonga_device_info }, /* Tonga */ + { 0x6929, &tonga_device_info }, /* Tonga */ + { 0x692B, &tonga_device_info }, /* Tonga */ + { 0x692F, &tonga_vf_device_info }, /* Tonga vf */ + { 0x6938, &tonga_device_info }, /* Tonga */ + { 0x6939, &tonga_device_info }, /* Tonga */ + { 0x7300, &fiji_device_info }, /* Fiji */ + { 0x730F, &fiji_vf_device_info }, /* Fiji vf*/ + { 0x67C0, &polaris10_device_info }, /* Polaris10 */ + { 0x67C1, &polaris10_device_info }, /* Polaris10 */ + { 0x67C2, &polaris10_device_info }, /* Polaris10 */ + { 0x67C4, &polaris10_device_info }, /* Polaris10 */ + { 0x67C7, &polaris10_device_info }, /* Polaris10 */ + { 0x67C8, &polaris10_device_info }, /* Polaris10 */ + { 0x67C9, &polaris10_device_info }, /* Polaris10 */ + { 0x67CA, &polaris10_device_info }, /* Polaris10 */ + { 0x67CC, &polaris10_device_info }, /* Polaris10 */ + { 0x67CF, &polaris10_device_info }, /* Polaris10 */ + { 0x67D0, &polaris10_vf_device_info }, /* Polaris10 vf*/ + { 0x67DF, &polaris10_device_info }, /* Polaris10 */ + { 0x67E0, &polaris11_device_info }, /* Polaris11 */ + { 0x67E1, &polaris11_device_info }, /* Polaris11 */ + { 0x67E3, &polaris11_device_info }, /* Polaris11 */ + { 0x67E7, &polaris11_device_info }, /* Polaris11 */ + { 0x67E8, &polaris11_device_info }, /* Polaris11 */ + { 0x67E9, &polaris11_device_info }, /* Polaris11 */ + { 0x67EB, &polaris11_device_info }, /* Polaris11 */ + { 0x67EF, &polaris11_device_info }, /* Polaris11 */ + { 0x67FF, &polaris11_device_info }, /* Polaris11 */ }; static int kfd_gtt_sa_init(struct kfd_dev *kfd, unsigned int buf_size,