Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6476412ybi; Wed, 29 May 2019 08:22:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqxaCMZYkqYBCX/LrnaA8aqTMSEbfrRwbx5fR4/d/Z5mXSJ7G0o0fiVfZDIcx6O5tvGCS578 X-Received: by 2002:a17:902:20e2:: with SMTP id v31mr141975669plg.138.1559143325346; Wed, 29 May 2019 08:22:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559143325; cv=none; d=google.com; s=arc-20160816; b=0mtwJDNldh6qcuLHBZhPnmDXA8xw3z3hQp3rlwBynI1zE/LgnIKUGZyk+3GGejloAS x48N8YCacXPZwFv5fQhl18ll8tHJG1ErudEaFNvu42t0M5XagBD51cnR8320WowrjbDO K5t5l11DtUIFlnr2kP35Cy4V5VWkGgHtjFXnXxnt/w2BSv9U0CaWRulWeTHL0xfNQsGL E2YTkAGIxcRHDfzpAGGDUtRO+nMMscziRmu4g5L4MZyBVKr3L6V+i71W6DRzUagq1/fQ wIKAyBRLaXk7LKxY7xZcUxJAXvW9OmHRgbmiPtrKBbXKoTiLLmM5f4+voQIj4v9blasB b9Bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=5iqwr/7+M82RVAcvJU/35r6kJQYabEd1hdFwDzBIfsI=; b=NQdVGLGcgKcDCfTgPMVB8IppP3RAdCTz175rQihr77S03SvhEdl4h9tXi334lIRrM8 X6qEkKBTR5znSt1ASTP2MOfdp8nhafFdH2giH9weM6VNO7z1L2hedF6Sw6NOyvfZpMwG nBP2E2cQh9+KAcMYyB5s4wl6ZBuGQyzk6WwdTTIgCU92+mOhwvyeR8/VALRmyOka7A7W wvUKDSTXOu1AIMSSn5AYDTJY5seRmsnIonpw3lv6Cr7RmKf+mpLOTZarnGR6yy9zawGt mBFd5V8idaRJo+HzUAZnQyQKzVHIHn+pWSmiGfOAkzF4YX2UIWdT2FC7tdvCmUthNFSo pZkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fsBv+734; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c8si26620016pfn.208.2019.05.29.08.21.47; Wed, 29 May 2019 08:22:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fsBv+734; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726752AbfE2PU1 (ORCPT + 99 others); Wed, 29 May 2019 11:20:27 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:36606 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725936AbfE2PU0 (ORCPT ); Wed, 29 May 2019 11:20:26 -0400 Received: by mail-pf1-f196.google.com with SMTP id u22so1853936pfm.3; Wed, 29 May 2019 08:20:26 -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; bh=5iqwr/7+M82RVAcvJU/35r6kJQYabEd1hdFwDzBIfsI=; b=fsBv+734WhTc/44VN1m5ZCh1naG2R/7mQ+Hj0zYsjd3OQVJwmv2f0sjuneVEbJzXJ3 FugudjrH2ld/EftiuKn6pgVHNgidVCRYa8/yeQ0UpUF58clxxoWwpYTqVnHO9HC08NEn SuR1w3GNWdMdOZp9t+9QA8q48+zFSxUM4mcqClQzfCACHvIZ3cq8PPdX2bhtlNqbB8IK p5K+Qd8vVIZbq83L53Rp45Y/nX9SIgSvqguXJdpMdSLsttJGTr0OgJ9bU5qEBZmhsUsh 9x3F6/ur3yAk2otK90wftqpH7gpKqLEe0wOyPcvquzjyIHohsS9nztMPalc94xdF36KV rwJQ== 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=srpZ/MToXn2v9UxiyrwW8PRAeTco0bdPIBOwGbqJy0HRe3+SRVRG7UEGfiHT96J2BC UhvSBFPzls4GiO5wL2zwnyMVZF0SGp14wV+00nJ4R8w+ASSB4tjwBPgwY75BodDFQt4Y fEq+NODuoSvu0AoTTDleRagxyqAAcSw3dC91LNg8Insi+WEEOFRkzU/GwV0kyL3po0C8 aNRGyzxxgE58D+XLHjcb0aBhj+Up/k05ZazQfYQ9kkkXaqBMgv59MZAxe7mBSPPyPHY3 mb4wKczCeE7feDb8wWwukJ43aSxZ4vFlFoBv0sQ1+emDER/TR54dxhyIfUkyB5g2udnx EV7A== X-Gm-Message-State: APjAAAVcA6kjGtjsRzD3ab2x4kUHu1PpyczQpO+6VNK7pvbzZ5kXZVzi DZxQpUEat2+/9atLqQg8Pmo= 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 Cc: marc.w.gonzalez@free.fr, bjorn.andersson@linaro.org, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, Jeffrey Hugo 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.17.1