Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1782050imm; Thu, 27 Sep 2018 02:22:55 -0700 (PDT) X-Google-Smtp-Source: ACcGV62IJTQX+fGTy24VrKC/65mvbzQ9YkPIy2zhklg5ellbgmwllK31m4pl9ITMGF5sIH577LCT X-Received: by 2002:a63:8a41:: with SMTP id y62-v6mr9303588pgd.420.1538040175634; Thu, 27 Sep 2018 02:22:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538040175; cv=none; d=google.com; s=arc-20160816; b=VQAIZOrHc4+u+JI9Ee2CpJ6iUBvemcHnbIJ9omzjGvKKdxXSsIGxZWqpvd/30vSL7d UwUdI3x0PgVsxmeMJ1kXmjPyN+jytk5k1PMK4b6S6DKPWP9GzXig2mIOwLlDGv9rJe6k pggEQqzX2g9z+tu4+0ZRnKGCx5nz/YI95bMGqmh0/kle+OmtAyBieue5E8WBHi1UrpY3 ZEMHUCjznOXcR/++0CnftLO1u7lopWlBY51aFIgZB/MP8op+CaRGJw4OaMGruU1xu5Pq 7w4cY25kEF0hMorgX9lyhLxItizWcaooOK7nQgyj6KGA6cbHeiz2nYFwapccrsU88toz YmXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from; bh=B/Mpb15UKRo22Ov4ISvhc0q4S9seReClzEx6TGFY+K4=; b=QPeIPCmtE4/C9C3pAXf7JTepTQlDT+Slt1P+x+GCk+1ArXIYbWYUCbZLT+ZRgP752r xQBy0ghMPw+tLwK8shZiX4ts/AELke5/PEdxqXAIJfjNEfebOqZPUrCZPDjXVOkVw16H jUfNcQPyGbiBpo8Hj2Y8xqNybgZbaiYq2VC++Z2NYZTFR+rBzC/5rPnSMxKmaa97XO8w 82HBQQuuw16VFStRgxkS1nI1S88k2tHrWqifmqMoJqvMS8DdgGdlAYEzKND/POKnQcJK yRgmHRV0Wg/qASaPeTf1yU55ExIgm2NBj2WLQ6EYVTr3ge5wTHcE0Cjhhhi9X0J7M3BD 2jlw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y125-v6si1467002pgb.14.2018.09.27.02.22.40; Thu, 27 Sep 2018 02:22:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727677AbeI0Pji (ORCPT + 99 others); Thu, 27 Sep 2018 11:39:38 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:56360 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727057AbeI0Pji (ORCPT ); Thu, 27 Sep 2018 11:39:38 -0400 Received: from localhost (ip-213-127-77-73.ip.prioritytelecom.net [213.127.77.73]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 15B471113; Thu, 27 Sep 2018 09:22:17 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Rex Zhu , Alex Deucher Subject: [PATCH 4.14 48/64] drm/amdgpu: add new polaris pci id Date: Thu, 27 Sep 2018 11:04:05 +0200 Message-Id: <20180927090256.711348060@linuxfoundation.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180927090249.801943776@linuxfoundation.org> References: <20180927090249.801943776@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Alex Deucher commit 30f3984ede683b98a4e8096e200df78bf0609b4f upstream. Add new pci id. Reviewed-by: Rex Zhu Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 14 ++++++++------ drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 1 + 2 files changed, 9 insertions(+), 6 deletions(-) --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c @@ -715,12 +715,14 @@ static int amdgpu_cgs_get_firmware_info( break; case CHIP_POLARIS10: if (type == CGS_UCODE_ID_SMU) { - if ((adev->pdev->device == 0x67df) && - ((adev->pdev->revision == 0xe0) || - (adev->pdev->revision == 0xe3) || - (adev->pdev->revision == 0xe4) || - (adev->pdev->revision == 0xe5) || - (adev->pdev->revision == 0xe7) || + if (((adev->pdev->device == 0x67df) && + ((adev->pdev->revision == 0xe0) || + (adev->pdev->revision == 0xe3) || + (adev->pdev->revision == 0xe4) || + (adev->pdev->revision == 0xe5) || + (adev->pdev->revision == 0xe7) || + (adev->pdev->revision == 0xef))) || + ((adev->pdev->device == 0x6fdf) && (adev->pdev->revision == 0xef))) { info->is_kicker = true; strcpy(fw_name, "amdgpu/polaris10_k_smc.bin"); --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c @@ -500,6 +500,7 @@ static const struct pci_device_id pciidl {0x1002, 0x67CA, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10}, {0x1002, 0x67CC, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10}, {0x1002, 0x67CF, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10}, + {0x1002, 0x6FDF, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10}, /* Polaris12 */ {0x1002, 0x6980, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS12}, {0x1002, 0x6981, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS12},