Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1775074imm; Thu, 27 Sep 2018 02:15:02 -0700 (PDT) X-Google-Smtp-Source: ACcGV62vCY8w3S5FFE8kzkwnMMEzwskufTgZ+Gikf+RkkeNzkU1JF9BhcwDTM9IdkbQo/ZCMqwtn X-Received: by 2002:a17:902:8687:: with SMTP id g7-v6mr2443166plo.30.1538039702525; Thu, 27 Sep 2018 02:15:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538039702; cv=none; d=google.com; s=arc-20160816; b=H/Og2nm+NTKwd94oftyjITOHqzQidGabAArb/mi0peNz8cZ+QBDUT+QOjOdN+FqrhX DXDl/L1hEzdJL5By+ieM9PiiyVcHms2x6DZFgCb565p5a5Cl+3zXUB9QGkTW8xipheO2 I0U45IB89+UFtmd8Q59iwLTt9ZZ1jYjZD6BsQlIVcwh9DfEjX63PFoLR8i8QBdGMvpn1 1FLzGAnnS0y4RUO/k2Wp6Y+BaeMJ87H074au20mW2wG6N+t8IQ6f0LYNTC/+mY85XzVM JCL+Fz+If3Domuba3eUD2qZgbiZsfi+EcnVj9dKInsG5LhyOAJax9pt9Ojx75/OUkMKK 7hyA== 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=167kg5pZP1zUy5L1zNsZZL7m9//yZbWec4qvMNcdLbs=; b=MgI+SdnZrk9zREAtQj6TDIKLCLJ/h3D3TGTanVC8Mryg86XA29znofI51uctilmoia OCZXBcpJH2Jeei4nyE8hYdu+HgwPIvLzceKH9AfYC4VgZySzXEmT44BKNWFz2PpN0yAK wP91SkguDeipRLZoajFeYSFIs1uXhWeZhoqeiyxVN3ZvrAPwUtS23TngwxqYdufUQXQ5 HNbOrm/c3hXuF1N4ZcGHP9hfPox5W6B4bRnjm0ShyKJRWxZY8zuaexhcUK+Te042fhaF DGiZ5iSOQw47VW3djAObeOlhM8nruon3WoVtyXPunviNhxYCg19692W3AnyVRmg+CvwT c3OA== 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 bg10-v6si1436279plb.47.2018.09.27.02.14.47; Thu, 27 Sep 2018 02:15:02 -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 S1727830AbeI0PbF (ORCPT + 99 others); Thu, 27 Sep 2018 11:31:05 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:55480 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727404AbeI0PbE (ORCPT ); Thu, 27 Sep 2018 11:31:04 -0400 Received: from localhost (ip-213-127-77-73.ip.prioritytelecom.net [213.127.77.73]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 631F11117; Thu, 27 Sep 2018 09:13:47 +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.18 73/88] drm/amdgpu: add new polaris pci id Date: Thu, 27 Sep 2018 11:03:54 +0200 Message-Id: <20180927090309.491335305@linuxfoundation.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180927090300.631426620@linuxfoundation.org> References: <20180927090300.631426620@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.18-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 @@ -367,12 +367,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 @@ -532,6 +532,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},