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 F0D60C41604 for ; Wed, 7 Oct 2020 16:31:56 +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 769CB2064E for ; Wed, 7 Oct 2020 16:31:56 +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="hlK77cH5" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 769CB2064E 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 E749B6E94E; Wed, 7 Oct 2020 16:31:55 +0000 (UTC) Received: from mail-qt1-x841.google.com (mail-qt1-x841.google.com [IPv6:2607:f8b0:4864:20::841]) by gabe.freedesktop.org (Postfix) with ESMTPS id CF6676E94E for ; Wed, 7 Oct 2020 16:31:54 +0000 (UTC) Received: by mail-qt1-x841.google.com with SMTP id j22so2394284qtj.8 for ; Wed, 07 Oct 2020 09:31:54 -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=2t8ERYY7XTsl2ndg9qEkegX1e3SnrnaMLRDUYTuo5vA=; b=hlK77cH5lP4DY8tgIW9Bw/br3wmqK7y39jPh9Poi2lYLFBsX5jFnUWA0yY1kxLMLAD 1uERrHqzUC3FS7BkZOwGq/ON7L6K3v1CmdzWzvEnmxjJ467DoO1iKQBiLZSApsW3nIrD GuCiBAtg5kVM8/0kGA1u2TSImxRM77W+rNTzinUXSWXrsSlqIBK4VTC5PO/QFyBPIAUv 4YuJr9Vi3FmuHEdMdI3dpm7X/tbevYX+kjTwj4ito4/5jx3u5a7t33JNlmuZhfwTbHIj WLUiNAACDCmzwxyYPYBveCn2nI7VNAcnnltqwKH2yIyPXu0YL9duYD/IUPkZhRyaihO8 BpEw== 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=2t8ERYY7XTsl2ndg9qEkegX1e3SnrnaMLRDUYTuo5vA=; b=Y77EXHFD5XBfWrUNmAAyY1477XUItTY5oysiv9I9xbxgOsyqERWBZHN/1IJcutCiyo 3DYqYj/gJh3ennVhiH7Kg/tZq/3fNBkiQBEZOw7APbMbyEAV/XrXp6L8olS2pyqHVaWW exO56UUqNMeW6fTIvOq3N3Cz1cy/VZgQFx89ZQ9n5GZKzfqaFgLShbnY/Zl0FZ2QqjST mtj4uJeJZNNjhHziJR0nz+pudRAsJzUeym/JnK6TIpW9dhURmvw+o8r0GLxlXx85Ey7q yJcmnBBKGqtPXSaWIZQgLElz6BWUXkvtbc5Ygl+rGse/yKCDLxXIpfN1j1ZYYdmIAiOy I6Bg== X-Gm-Message-State: AOAM531hJLXffpZxnTIqH648FWw+NAflDXgyrsT67gKXdYzGuLhupQge 9ckXDD1XPmQSrK3XJSer5qjmifugiaw= X-Google-Smtp-Source: ABdhPJyj0RqhE+l1s70Cx5541Q9z4pY80xjAy+bJ+FsJJdbBK/WlLG8oYSJ5OTGdOPZZfw82jqCCwQ== X-Received: by 2002:ac8:b8b:: with SMTP id h11mr3962129qti.28.1602088313823; Wed, 07 Oct 2020 09:31:53 -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.31.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Oct 2020 09:31:53 -0700 (PDT) From: Alex Deucher X-Google-Original-From: Alex Deucher To: amd-gfx@lists.freedesktop.org Subject: [PATCH 07/50] drm/amdgpu: add gfx clock gating support for dimgrey_cavefish Date: Wed, 7 Oct 2020 12:30:52 -0400 Message-Id: <20201007163135.1944186-8-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 , Jiansong Chen , 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 gfx clock gating for dimgrey_cavefish. Signed-off-by: Tao Zhou Reviewed-by: Hawking Zhang Reviewed-by: Jiansong Chen Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c index 79c02e8281f0..218f67d29257 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c @@ -7686,6 +7686,7 @@ static int gfx_v10_0_set_clockgating_state(void *handle, case CHIP_SIENNA_CICHLID: case CHIP_NAVY_FLOUNDER: case CHIP_VANGOGH: + case CHIP_DIMGREY_CAVEFISH: gfx_v10_0_update_gfx_clock_gating(adev, state == AMD_CG_STATE_GATE); break; -- 2.25.4 _______________________________________________ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx