Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp819036rwi; Wed, 19 Oct 2022 03:26:33 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4itZ6MajUhdz7x3SbUPQJ0+G3tQCMK4lV8s2aPEHzWEbiM94jgcWFTPKKwLIMeo6s0JrSN X-Received: by 2002:a17:907:3181:b0:787:d81c:a6ad with SMTP id xe1-20020a170907318100b00787d81ca6admr6076885ejb.769.1666175192797; Wed, 19 Oct 2022 03:26:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666175192; cv=none; d=google.com; s=arc-20160816; b=FEavmGRVxZ7aja6PlWWKMfAy399Pc7hg9xmGyeXR3vYHtd71B6+VJ61zMMrZB9P5XP c+AU6Z32iq7ZXuZCVr9UYqM4eOzdH2q1jvmfpB+iSIo8+VAx6jokrucMgz7p4KnW70x1 zTdjn0n2wYBbnbF+x0KMBfg3L8tvrt1K3H5YZZvnQGvvyEQswgw6/cUxHlMKwODb2Spk SySxM4ZAxVShwJlJMmRa8da86wJtnBJP3QIzKK3D8x3wsMQs1Yr2jPonVrt2gwDalZr3 /1299Mhm0OwqntC0Vq12ZAsuSSO8bxe0jjDmEbSQxzvX9GfESJZ5YB98kUIpRdl44Trt TkFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=wXWVibkk8jQwwmR/J99CkkAEJ8ipZM3E8I9fbx3A9es=; b=l9FfZXYtdN21nZTn20IbEaKZOwaH+nmglE6CgOQcFzBDdX1Eepbnyo9I/SgEgapI2O sknOWdXcmoOTO8yTcipMOzmkCyG7WFmLpaf4UX3X4pJz1U35Diz/GSLeC+cdNUWnOCFx JRxGmPp9KC1AFiqd2AXqK6ZLcpTZrT81NLxCOpqk1zfsMoKzsIUDEYIvlM2dC6Ga2V0W onQIvHWlk6LoRT7aEmOdYyllPjoEDW7xHKoLySQQZ7jkTslggWpE/UgDX6Qowgig7ul0 jidBIEknzc9n2SDtKAY7Q8PlXk3wnJExfImbCVQPcSHZ/oInT5uHdrjel7vI3vRtbHmu Y90g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=kEON4Qz2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h2-20020a170906828200b0077b2ad71224si10522846ejx.136.2022.10.19.03.26.05; Wed, 19 Oct 2022 03:26:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=kEON4Qz2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229777AbiJSJAE (ORCPT + 99 others); Wed, 19 Oct 2022 05:00:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231992AbiJSI6Q (ORCPT ); Wed, 19 Oct 2022 04:58:16 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E30725FAED; Wed, 19 Oct 2022 01:53:39 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0D5C261834; Wed, 19 Oct 2022 08:48:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1F88AC433B5; Wed, 19 Oct 2022 08:48:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666169310; bh=cDOXYXPCFgwK64MHs+P8Q2nfkLntiNLPYeF7r5+rXB0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kEON4Qz2tTPJmE12babjZSEv6QaWYGJdG8WzzzgVPps7rTuvoAvrPLcrvEh6u1EZd yqq7jVeI/BH92mEe/8tJXx3sdOWytFSeJsCwR1bPnrDlQngKoa+Pa+y5S/shQrSbTo LTnqieiV6aOQyUu+6+gKPztQ95+PaQRpukn+OUmU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Roman Li , Nicholas Kazlauskas , Mario Limonciello , Alex Deucher Subject: [PATCH 6.0 194/862] drm/amd/display: Enable dpia support for dcn314 Date: Wed, 19 Oct 2022 10:24:41 +0200 Message-Id: <20221019083258.555290105@linuxfoundation.org> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221019083249.951566199@linuxfoundation.org> References: <20221019083249.951566199@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Roman Li commit f6aa84b83aee629fbbbc4ea16c2c142caf920d5a upstream. [Why] DCN 3.1.4 supports DPIA. [How] - Set dpia_supported flag for dcn314 in dmub_hw_init() - Remove comment that becomes irrelevant after this change. Signed-off-by: Roman Li Reviewed-by: Nicholas Kazlauskas Reviewed-by: Mario Limonciello Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org # 6.0.x Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c @@ -1109,7 +1109,8 @@ static int dm_dmub_hw_init(struct amdgpu hw_params.fb[i] = &fb_info->fb[i]; switch (adev->ip_versions[DCE_HWIP][0]) { - case IP_VERSION(3, 1, 3): /* Only for this asic hw internal rev B0 */ + case IP_VERSION(3, 1, 3): + case IP_VERSION(3, 1, 4): hw_params.dpia_supported = true; hw_params.disable_dpia = adev->dm.dc->debug.dpia_debug.bits.disable_dpia; break;