Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp740106imm; Thu, 13 Sep 2018 07:05:22 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbQHBK26AhHvUFG66Bf1YOGDWGHf9tu4ozkzbBtUhsE/Wy+3BucF+wuDBAfmbRovDnBYo1O X-Received: by 2002:a63:5815:: with SMTP id m21-v6mr7353366pgb.78.1536847522179; Thu, 13 Sep 2018 07:05:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536847522; cv=none; d=google.com; s=arc-20160816; b=LFnarPBEAzodvKdd6j7rA7yuplPtahokwf+BbYnVoiOoQ/WWS5lz9/ywuIdlJ5zdx7 87aRyXn4k0deoptWhDqW2P7/LjzYc7kR+IGHJU6RUqTbhDJHcuP/7I0pte98sfbM64mx FmpAgEyXvttCyleFrFRr1p3CHKqH9imtgCFK1U7flsfduUz/6rSOW4JYCzFVEqOaOwSG aOdBhNSrTL4wlcSkNbJi01JFkgNjCSyqicNODpbg5ySUTR5e9YaTP85MiwD6NQVfO+kn 5fEQ7BnhsbX7b9tdml0qXIycaPiNozAJzSUMp1Ek2GhHsYwqSP2jcC98nfR8YX3v74iJ bluQ== 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=J5QgigIsFx1/jMXBRE5QJl3il8fkXI5Q6dvxVg62pZY=; b=QoaWxIRJjDp43FhWcvcr2/ZVhdzQEX0E7hfxqzUGmRutARjbnKlrwplCansc2J8JA5 D6ana/EhVnIK/amVzK8kuXiBh4STzwMtb3L+T3qWzFmORFkpUaeSUgzAWKXIs7aDF0y7 zvztQzDvHjWeXzQ0wRfzBv2HL9Bhmbx+xjnagJIi8eMYdKxijmYvsw8Yh9+YPVvyx+ZJ 6zBD4A4XzncCnSMTvTzipAeOfyi40vrBcpCumdwA9NPT1X7Iaw9KGvxPlx0x0nmyXFS0 1kIEuS5SJ1Qs4dhU90m87W2acy2CHvC4MqhzdPnJObY3a1w4kXftAhQc1Xx+lgz5LR0s UUqA== 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 w126-v6si4309262pfb.232.2018.09.13.07.05.03; Thu, 13 Sep 2018 07:05:22 -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 S1732146AbeIMTOb (ORCPT + 99 others); Thu, 13 Sep 2018 15:14:31 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:35434 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728565AbeIMTOa (ORCPT ); Thu, 13 Sep 2018 15:14:30 -0400 Received: from localhost (ip-213-127-77-73.ip.prioritytelecom.net [213.127.77.73]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 40E1AD36; Thu, 13 Sep 2018 14:04:51 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, James Zhu , Alex Deucher , Huang Rui , Likun Gao Subject: [PATCH 4.18 177/197] drm/amdgpu:add VCN support in PSP driver Date: Thu, 13 Sep 2018 15:32:06 +0200 Message-Id: <20180913131848.642233963@linuxfoundation.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180913131841.568116777@linuxfoundation.org> References: <20180913131841.568116777@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: Likun Gao commit 235ac9de625a0a586093ad81b3de6f7d7ab913ed upstream. Add VCN support in PSP driver Signed-off-by: James Zhu Reviewed-by: Alex Deucher Acked-by: Huang Rui Reviewed-by: Likun Gao Signed-off-by: Likun Gao Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/amd/amdgpu/psp_v10_0.c | 3 +++ 1 file changed, 3 insertions(+) --- a/drivers/gpu/drm/amd/amdgpu/psp_v10_0.c +++ b/drivers/gpu/drm/amd/amdgpu/psp_v10_0.c @@ -88,6 +88,9 @@ psp_v10_0_get_fw_type(struct amdgpu_firm case AMDGPU_UCODE_ID_VCE: *type = GFX_FW_TYPE_VCE; break; + case AMDGPU_UCODE_ID_VCN: + *type = GFX_FW_TYPE_VCN; + break; case AMDGPU_UCODE_ID_MAXIMUM: default: return -EINVAL;