Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.3 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3E791C47095 for ; Wed, 7 Oct 2020 16:32:43 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D14F12064E for ; Wed, 7 Oct 2020 16:32:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="XKxtqtsq" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D14F12064E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=amd-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7AF006E972; Wed, 7 Oct 2020 16:32:42 +0000 (UTC) Received: from mail-qk1-x744.google.com (mail-qk1-x744.google.com [IPv6:2607:f8b0:4864:20::744]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4357A6E972 for ; Wed, 7 Oct 2020 16:32:41 +0000 (UTC) Received: by mail-qk1-x744.google.com with SMTP id s7so3419572qkh.11 for ; Wed, 07 Oct 2020 09:32:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=gww/zJth1/Nh7knA7tK1/IBVxGqJxUTZus+rdvGkNpk=; b=XKxtqtsq/KXfs53bs8xc7jOQ5Bee3p8sq2W2zENML1roaMeNXn1v3GBD05DJV5mgbG 3h+Uenc0Xw8XAzpjU6U4Z6YsLvKd6REadzrAKMWxgbXTP5GpM0zZjn+of8lpmyASQZlR wrbLSSqTW03XaKmW5m1oOGVa9yaj3cuBdTuWWyTG6Vgd4bqWWPcdkvP2LTqVZkfyw65y ReLt1Spz5ZQOO4+VTQUCD+WP9doiItMAZ2Mlq4savqUGpDPur8+o210v1EEjZZpv3JPk XLOwPPt4RJunNAc7GFm5YDLH0bFkt64xZ3UhB9d6tHb//538eXQdxuQoGyYs3eDwXDFY vO+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=gww/zJth1/Nh7knA7tK1/IBVxGqJxUTZus+rdvGkNpk=; b=AbR7R9MIOX9zeDXS8UYDaIpc6236xWIH9aLzQQaYPVVfzYUI3QL+rKdNxRVp/oNJHZ GPBuF4O7yCssKkvSAueI06xEovZbacKLDU5pbNr3y9z9c8Y18IbbeKOeW4OGM8CVi1eq QC+mQy2ui0zEFbguxu2TH8ds71NIef2j2zQq/bzGbkmJI6TqcpDUT4z1ZiG6Dz4uEwou FAYZyMMIUV9dy8gtg3MG7QMVMuCtxR/H8EnfxydLtt51jxpSnmOXPoPFV/vk+kqvxaAh 1esdu1JlHFnsW7IHb8J6cnQTiIXkKc6S4D617gAaqhR4Y5UNdbc4BlkxMmIbqNFkHJmu LDDw== X-Gm-Message-State: AOAM530XqZHsQoBVMJcaD8EFsZWnSXk27SHiTQdzC3OT96JDefAvSCGL zeTzjNvOg6LjA6yRdxYaHf/T4VezvfY= X-Google-Smtp-Source: ABdhPJwgPmPZ7Ii9XiKpp8eUJ7EFyTj07lDmTRpbUq7QNEw5ndzRh3xtS112SNNaASiY6hoJB/i/vA== X-Received: by 2002:ae9:ed13:: with SMTP id c19mr3658702qkg.196.1602088360249; Wed, 07 Oct 2020 09:32:40 -0700 (PDT) Received: from tr4.amd.com (atlvpn.amd.com. [165.204.84.11]) by smtp.gmail.com with ESMTPSA id l19sm1725576qkk.99.2020.10.07.09.32.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Oct 2020 09:32:39 -0700 (PDT) From: Alex Deucher X-Google-Original-From: Alex Deucher To: amd-gfx@lists.freedesktop.org Subject: [PATCH 37/50] drm/amdgpu: enable mc CG and LS for dimgrey_cavefish Date: Wed, 7 Oct 2020 12:31:22 -0400 Message-Id: <20201007163135.1944186-38-alexander.deucher@amd.com> X-Mailer: git-send-email 2.25.4 In-Reply-To: <20201007163135.1944186-1-alexander.deucher@amd.com> References: <20201007163135.1944186-1-alexander.deucher@amd.com> MIME-Version: 1.0 X-BeenThere: amd-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion list for AMD gfx List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alex Deucher , Tao Zhou , Hawking Zhang Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: amd-gfx-bounces@lists.freedesktop.org Sender: "amd-gfx" From: Tao Zhou Set mc CG and LS flag for dimgrey_cavefish. Signed-off-by: Tao Zhou Reviewed-by: Hawking Zhang Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/nv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c index 371646f6cd8a..111637bb3ee5 100644 --- a/drivers/gpu/drm/amd/amdgpu/nv.c +++ b/drivers/gpu/drm/amd/amdgpu/nv.c @@ -908,7 +908,9 @@ static int nv_common_early_init(void *handle) AMD_CG_SUPPORT_GFX_CGCG | AMD_CG_SUPPORT_GFX_3D_CGCG | AMD_CG_SUPPORT_VCN_MGCG | - AMD_CG_SUPPORT_JPEG_MGCG; + AMD_CG_SUPPORT_JPEG_MGCG | + AMD_CG_SUPPORT_MC_MGCG | + AMD_CG_SUPPORT_MC_LS; adev->pg_flags = AMD_PG_SUPPORT_VCN | AMD_PG_SUPPORT_VCN_DPG | AMD_PG_SUPPORT_JPEG; -- 2.25.4 _______________________________________________ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx