From patchwork Wed Oct 19 08:24:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 4612 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp211747wrs; Wed, 19 Oct 2022 02:05:45 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5+sufS0WXOAcjo1k+7eljTk9YtTjfZ+94usdRdQXR9nRY4CvIamnNhv6QhowdB04g5dEN9 X-Received: by 2002:a17:90a:9381:b0:20a:79b7:766a with SMTP id q1-20020a17090a938100b0020a79b7766amr45164409pjo.33.1666170334453; Wed, 19 Oct 2022 02:05:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666170334; cv=none; d=google.com; s=arc-20160816; b=CRbqaJkty1Rg3WNhHDG/RnbX+FCPA5osMzXi1oZ1WpNetbUroSkz0K0ufIoJ/zvbRX 07ubcXs+lrHhY5F6uGmUU8JBn5Cx/fr4AlFaYH9gNXwBKbfTwIHrBHDxjpWe9RohQ7ba +oPlVTR2ht0QfNUqqUZ7bBUtIhqkbfxN5F3qg2e1kJIsIscO1uxTg9cdvlGA052Zrx9U gv6VV39TKcWIVtLIuftYXMkr0wVhUqVgnI+5t4Mcm/lIKSJFAfwB1mGULYIX57k3qQM/ 3/LVESS0aGzsw5cr6JI/8+GYqwZyjAMg3OtNlCEIMhLvbXyJZVRa4yPz3SPAHwt/aOny 79pg== 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=pbGowfJbWLnednQmFrhmlkPkk6Wu5RnHzNzo+1VY3PA=; b=B3L6DZXBQTojQF1bvHv7U5ZRj4v0bOTuDc8ojjg6TnMK/7TLYz7dtB9ZM10fQ3Gl0l I6ZD9O2ATuaicyDgtW5fC7zToQremdgxuXReOLBC6YwNRJ+b55pi5yfNQRHNvRrXsJdb gwVp1yJmyguH3Crr+HkIFClCQhvJCpKVtfaDlZGGtCFaX7sMC3TCiwKxXMDTrhC/WLTC w1MhtJcB+UdGEQC4hYQI6pjBnRBCfmwZmpXD7LDZMOjcy8LGJMPISFSzissRrspkbR+K juYXakRM4O/3U2tKunE3TdMtgvzXJnAjQdr83CI8RYMgkD9vl3ZQZujOY+9rmiW9UpCc djlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="t/Eb0C1e"; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b5-20020a170902e94500b0017c9ffbab0fsi16949427pll.152.2022.10.19.02.05.15; Wed, 19 Oct 2022 02:05:34 -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="t/Eb0C1e"; 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 S231851AbiJSIxS (ORCPT + 99 others); Wed, 19 Oct 2022 04:53:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231668AbiJSIwi (ORCPT ); Wed, 19 Oct 2022 04:52:38 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17BA94DB1F; Wed, 19 Oct 2022 01:50:13 -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 5CF796174F; Wed, 19 Oct 2022 08:48:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C771C433C1; Wed, 19 Oct 2022 08:48:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666169328; bh=rJtz2IPxr4c4FRvm1ReK9DxHRJNRCF9AyV1lc/eWQv0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=t/Eb0C1egJZ5d6ZY2Je7l4UBoxqqRrCR8QSHAIbFn94GQVOz3arWk3lEqmRGRptQq eEDv0ImfM6rMHt5wOijfYcKuN/QOB4WsnK7MJfjfIl3LOUwRODnQLbbc3u+c9/fJym NandTvYVjF3pZeaPj9/0EkPjwNFypPTKuG/SeLZc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sonny Jiang , James Zhu , Alex Deucher Subject: [PATCH 6.0 199/862] drm/amdgpu: Enable VCN PG on GC11_0_1 Date: Wed, 19 Oct 2022 10:24:46 +0200 Message-Id: <20221019083258.798479712@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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747106224571501338?= X-GMAIL-MSGID: =?utf-8?q?1747106224571501338?= From: Sonny Jiang commit e626d9b9c6e038a6918aad1b5affd38f6b9deaed upstream. Enable VCN PG on GC11_0_1 Signed-off-by: Sonny Jiang Reviewed-by: James Zhu Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org # 6.0.x Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/amd/amdgpu/soc21.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/gpu/drm/amd/amdgpu/soc21.c +++ b/drivers/gpu/drm/amd/amdgpu/soc21.c @@ -625,6 +625,7 @@ static int soc21_common_early_init(void AMD_CG_SUPPORT_JPEG_MGCG; adev->pg_flags = AMD_PG_SUPPORT_GFX_PG | + AMD_PG_SUPPORT_VCN | AMD_PG_SUPPORT_VCN_DPG | AMD_PG_SUPPORT_JPEG; adev->external_rev_id = adev->rev_id + 0x1;