From patchwork Wed May 29 15:20:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeffrey Hugo X-Patchwork-Id: 10968645 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 A9BCD92A for ; Thu, 30 May 2019 11:40:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9AFC728972 for ; Thu, 30 May 2019 11:40:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8F333289C6; Thu, 30 May 2019 11:40:22 +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,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,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 581F628972 for ; Thu, 30 May 2019 11:40:22 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 475206E33D; Thu, 30 May 2019 11:39:58 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9267C6E07B; Wed, 29 May 2019 15:20:26 +0000 (UTC) Received: by mail-pf1-x443.google.com with SMTP id a23so1856149pff.4; Wed, 29 May 2019 08:20:26 -0700 (PDT) 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; bh=5iqwr/7+M82RVAcvJU/35r6kJQYabEd1hdFwDzBIfsI=; b=PF10gCl0Q3IkoCutCitV59/j4loQ4zbtqnqgHY6H2IiwrbRjGjLtx66oVh8m0PQpre lwux+vhizU90wO7O6b+ogUgi5Dzbis7MhBy9DAN2flzD7z38gcG2CjIeR06n3sYXZgsY kUTEjQy7Q9F0gPp+YvuTs+sOPy8A5eXUMJUUVHxsMXi5MH2oIcl0MZtVCzH2k0xo9nK5 fDDljvvXDvzqmY1PWYIJIG7nlKjwbjzSGGxSMtpVCJAvgJ0bbe/Jsk+WfBeuUpUlpZqX 5RjFG2exHSr138h/Vt2iKM62x8ws6mEsRNW5infxMGuBkuQugLIcfhjFEadrGAlJkwPY aOPA== X-Gm-Message-State: APjAAAUDkgDVKe5cHJdHdmxpBdnxrKPw0hX6g6WRv/ZZIj1cEziJyOZh ZkchuQtsNBa6jUeJY+DIra8= X-Google-Smtp-Source: APXvYqyOuPe0zGzQzJN6XRqrZI+J8Li1vF424ttFYbkWS0vC3iafV8NwogFreW6kAYpb/2JMsJpH6g== X-Received: by 2002:a62:b517:: with SMTP id y23mr67062939pfe.182.1559143226275; Wed, 29 May 2019 08:20:26 -0700 (PDT) Received: from aw-bldr-10.qualcomm.com (i-global254.qualcomm.com. [199.106.103.254]) by smtp.gmail.com with ESMTPSA id r7sm6198321pjb.8.2019.05.29.08.20.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 May 2019 08:20:25 -0700 (PDT) From: Jeffrey Hugo To: robdclark@gmail.com, sean@poorly.run, airlied@linux.ie, daniel@ffwll.ch, jcrouse@codeaurora.org Subject: [PATCH v2 0/2] Adreno A540 support Date: Wed, 29 May 2019 08:20:20 -0700 Message-Id: <20190529152022.42799-1-jeffrey.l.hugo@gmail.com> X-Mailer: git-send-email 2.17.1 X-Mailman-Approved-At: Thu, 30 May 2019 11:39:54 +0000 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=5iqwr/7+M82RVAcvJU/35r6kJQYabEd1hdFwDzBIfsI=; b=fsBv+734WhTc/44VN1m5ZCh1naG2R/7mQ+Hj0zYsjd3OQVJwmv2f0sjuneVEbJzXJ3 FugudjrH2ld/EftiuKn6pgVHNgidVCRYa8/yeQ0UpUF58clxxoWwpYTqVnHO9HC08NEn SuR1w3GNWdMdOZp9t+9QA8q48+zFSxUM4mcqClQzfCACHvIZ3cq8PPdX2bhtlNqbB8IK p5K+Qd8vVIZbq83L53Rp45Y/nX9SIgSvqguXJdpMdSLsttJGTr0OgJ9bU5qEBZmhsUsh 9x3F6/ur3yAk2otK90wftqpH7gpKqLEe0wOyPcvquzjyIHohsS9nztMPalc94xdF36KV rwJQ== 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: marc.w.gonzalez@free.fr, linux-arm-msm@vger.kernel.org, Jeffrey Hugo , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, bjorn.andersson@linaro.org, freedreno@lists.freedesktop.org MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Adreno driver support for the A540 found in the MSM8998 SoC v2: -Removed extra RBBM write -Corrected added RBBM writes to allow for hwcg disable -Patch to add REG_A5XX_HLSQ_DBG_ECO_CNTL to envytools -Regenerated a5xx header file with updated envytools -Used REG_A5XX_HLSQ_DBG_ECO_CNTL in code -Stripped extranious magic number comment Jeffrey Hugo (1): drm/msm/adreno: Add A540 support drivers/gpu/drm/msm/adreno/a5xx.xml.h | 28 ++++---- drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 21 ++++++ drivers/gpu/drm/msm/adreno/a5xx_power.c | 76 +++++++++++++++++++++- drivers/gpu/drm/msm/adreno/adreno_device.c | 18 +++++ drivers/gpu/drm/msm/adreno/adreno_gpu.h | 6 ++ 5 files changed, 133 insertions(+), 16 deletions(-)