From patchwork Fri May 20 12:24:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Deucher X-Patchwork-Id: 9129395 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7FA6660467 for ; Fri, 20 May 2016 12:24:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 72456200E7 for ; Fri, 20 May 2016 12:24:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6732027BF1; Fri, 20 May 2016 12:24:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3B90C200E7 for ; Fri, 20 May 2016 12:24:53 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4224A6EABD; Fri, 20 May 2016 12:24:47 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qg0-x244.google.com (mail-qg0-x244.google.com [IPv6:2607:f8b0:400d:c04::244]) by gabe.freedesktop.org (Postfix) with ESMTPS id 794996EAB6 for ; Fri, 20 May 2016 12:24:40 +0000 (UTC) Received: by mail-qg0-x244.google.com with SMTP id b14so9380655qge.2 for ; Fri, 20 May 2016 05:24:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=eThvCe5WO00Q5JsjncNRB2EziPqwYpL9UN+tgAoj45g=; b=Hdso2dbLXGT32F9C3tzhTLRQkVTU3pNO6I5eiGBfHe9d9oS0XKSBjUEXJ9sXaExae+ l++SlSvqAxohLbkmZreEnCftrYWwnSSqr/hW1D84cwMuUnsTVtEefoJb6Ck0uIihi4VG 8N50XlxDPGLvKYbnSa6Z1+S7JcR3I2amEJ+OyjuIwTxmeuha1OEFdumqGNCgzfzb8nUd l/brZfA+q7M8OaKW5Xo5K6z6NWD6P1MBtlXS010DaOUGLMg8JcfURmSmmbqPUIDdsFWx RB77U5zukd1NOqUtxBMeyX/YiI0mwv/2RLk3CmHTdSvMpcMqG5mtSIpjTnMcsqJzfmbQ Lidw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=eThvCe5WO00Q5JsjncNRB2EziPqwYpL9UN+tgAoj45g=; b=IIjcfhEWogXG8PrKlFwuT1oVI5N/tSipMM9cEkTZXoFskPb23hvoy0eiGEJ9Bvffp4 djjvpeqVVVdsVPATtzJAA4oSP2DeoV0zmg4FUNrmdpqrFSAWSIbUH0N8EUomL29R7Ax1 uIuWKJ/SU1mZMHd1gSqlKW8qePIenljAO7ThfSMXw8pobgTmDfoqh9AnocRUkefYos9I folIS/oSZzUzyNPDVDQyIMqODucpAp69r2SxvDRPe7d32UH9arK+kYJ/uquaZSP7KUYM 9HpsoS35AbY4pxKszI/GQsMSp3b1QL7pFPX42jkLiPuKfEFtz1glj4XhdaUPfCO1w11h QCyQ== X-Gm-Message-State: AOPr4FUwLx/2Pud7IqJXULDEmzGaFdiNGQbIBSCRJcD95iOR3HFQlPbAvMbVkKOONe3Txg== X-Received: by 10.140.96.229 with SMTP id k92mr2724684qge.67.1463747079343; Fri, 20 May 2016 05:24:39 -0700 (PDT) Received: from cm.localdomain (static-74-96-105-49.washdc.fios.verizon.net. [74.96.105.49]) by smtp.gmail.com with ESMTPSA id z197sm8666635qhd.35.2016.05.20.05.24.38 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 20 May 2016 05:24:38 -0700 (PDT) From: Alex Deucher X-Google-Original-From: Alex Deucher To: dri-devel@lists.freedesktop.org Subject: [PATCH 5/8] drm/amdgpu: add new GFX powergating types Date: Fri, 20 May 2016 08:24:25 -0400 Message-Id: <1463747068-12039-6-git-send-email-alexander.deucher@amd.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1463747068-12039-1-git-send-email-alexander.deucher@amd.com> References: <1463747068-12039-1-git-send-email-alexander.deucher@amd.com> Cc: Alex Deucher X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Add some new GFX powergating flags. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/include/amd_shared.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd/include/amd_shared.h index 6080951..147b2eb 100644 --- a/drivers/gpu/drm/amd/include/amd_shared.h +++ b/drivers/gpu/drm/amd/include/amd_shared.h @@ -120,6 +120,8 @@ enum amd_powergating_state { #define AMD_PG_SUPPORT_SDMA (1 << 8) #define AMD_PG_SUPPORT_ACP (1 << 9) #define AMD_PG_SUPPORT_SAMU (1 << 10) +#define AMD_PG_SUPPORT_GFX_QUICK_MG (1 << 11) +#define AMD_PG_SUPPORT_GFX_PIPELINE (1 << 12) enum amd_pm_state_type { /* not used for dpm */