From patchwork Mon Jul 11 19:19:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andr=C3=A9_Almeida?= X-Patchwork-Id: 12914167 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 3F549C433EF for ; Mon, 11 Jul 2022 19:20:23 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4A87B2B82F; Mon, 11 Jul 2022 19:20:22 +0000 (UTC) Received: from fanzine2.igalia.com (fanzine.igalia.com [178.60.130.6]) by gabe.freedesktop.org (Postfix) with ESMTPS id A12592B82F; Mon, 11 Jul 2022 19:20:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-Id: Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=7c7d6rskMkCYDjy6DAbXKPIeXjrUo9HRt6h1La1UYjI=; b=VBYzb6hel8xiSj8r/JdTvu51Y3 qp6SbCXo4XhSmXzSD4QZKZBX4a1I8+C8Ib5WdkOkNxTW/10jRpyaR0qR8U8PvS4GDI3xAeyCL35sn LmpsSoEvEHZMI6LgWHATqPPmBo8T4IO5pO2Fpv5dR+NMu8wtjIwhKVhegoBx/wlwITEnE7Z1SoCdg lgfWRquRIRNNI6ieUfP9XPNWtudaF0GZcGAAG9u30noGZEa5mYAV34qcnfdG0N5wtb8C7+xZ/Oy0v gwkpfY6ZdYzTHx9fozoIHALFM26C38FYdiadGkEmQfsNNlONL3W1SBT0mrYMpJNA2RSiT+Ish/3EV Fz7k+7Dw==; Received: from [177.45.248.119] (helo=localhost.localdomain) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim) id 1oAyx5-00CJom-TS; Mon, 11 Jul 2022 21:20:16 +0200 From: =?utf-8?q?Andr=C3=A9_Almeida?= To: Alex Deucher , =?utf-8?b?J0NocmlzdGlhbiBLw7Zu?= =?utf-8?b?aWcn?= , 'Pan Xinhui' , David Airlie , Daniel Vetter , Hawking Zhang , Tao Zhou , Felix Kuehling , Jack Xiao , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] drm/amd/pm: Add GFXOFF status for vangogh Date: Mon, 11 Jul 2022 16:19:51 -0300 Message-Id: <20220711191953.145518-1-andrealmeid@igalia.com> X-Mailer: git-send-email 2.37.0 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Andr=C3=A9_Almeida?= , kernel-dev@igalia.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This patchset adds support to get current status of GFXOFF in vangogh. Given that the rest of the interface is already implemented, we just need to plug one function. This is implemented just for vangogh and not for all smu11 devices given that this is specific for this device, and not to all the generation. André Almeida (2): drm/amd/pm: Add GFXOFF registers for vangogh drm/amd/pm: Implement get GFXOFF status for vangogh .../inc/pmfw_if/smu11_driver_if_vangogh.h | 12 +++++++++ .../gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c | 26 +++++++++++++++++++ 2 files changed, 38 insertions(+)