From patchwork Thu Oct 4 09:41:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharat Masetty X-Patchwork-Id: 10625777 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 60EF9175A for ; Thu, 4 Oct 2018 09:41:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 515C028AD9 for ; Thu, 4 Oct 2018 09:41:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 45B2128AF3; Thu, 4 Oct 2018 09:41:59 +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=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 096A128AD9 for ; Thu, 4 Oct 2018 09:41:58 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B56516E58F; Thu, 4 Oct 2018 09:41:55 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from smtp.codeaurora.org (smtp.codeaurora.org [198.145.29.96]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6EEDF6E58C; Thu, 4 Oct 2018 09:41:54 +0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 466A460275; Thu, 4 Oct 2018 09:41:54 +0000 (UTC) Received: from smasetty-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: smasetty@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 669AA60B72; Thu, 4 Oct 2018 09:41:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 669AA60B72 From: Sharat Masetty To: freedreno@lists.freedesktop.org Subject: [v4 0/4] msm/drm: a6xx DCVS series Date: Thu, 4 Oct 2018 15:11:39 +0530 Message-Id: <1538646103-27445-1-git-send-email-smasetty@codeaurora.org> X-Mailer: git-send-email 1.9.1 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-msm@vger.kernel.org, Sharat Masetty , dri-devel@lists.freedesktop.org MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP This patch series starts off with a bug fixes in devfreq code, followed by refactoring the devfreq code needed for supporting different chipsets, and ends with adding devfreq support for A6xx. v2, v3: Addressed review comments from Jordan Crouse. v4: Patches raised against Rob's msm-next. Fixed a bug caught in downstream testing. Note: Scaling works best with these two fixes https://patchwork.freedesktop.org/patch/253992/ https://patchwork.freedesktop.org/patch/253458/ Sharat Masetty (4): drm/msm: suspend devfreq on init drm/msm/a6xx: Add gmu_read64() register read op drm/msm: re-factor devfreq code drm/msm/a6xx: Add devfreq support for a6xx drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 16 +++++++++---- drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 38 +++++++++++++++++++++++++---- drivers/gpu/drm/msm/adreno/a6xx_gmu.h | 12 ++++++++++ drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 27 +++++++++++++++++++++ drivers/gpu/drm/msm/adreno/a6xx_gpu.h | 3 ++- drivers/gpu/drm/msm/msm_gpu.c | 45 +++++++++++++++++++++-------------- drivers/gpu/drm/msm/msm_gpu.h | 5 +++- 7 files changed, 118 insertions(+), 28 deletions(-) --- 1.9.1