From: Sharat Masetty <smasetty@codeaurora.org>
To: freedreno@lists.freedesktop.org
Cc: dri-devel@freedesktop.org, linux-arm-msm@vger.kernel.org,
linux-kernel@vger.kernel.org, will@kernel.org,
robin.murphy@arm.com, joro@8bytes.org,
iommu@lists.linux-foundation.org, jcrouse@codeaurora.org,
saiprakash.ranjan@codeaurora.org,
Sharat Masetty <smasetty@codeaurora.org>
Subject: [PATCH 0/5] drm/msm/a6xx: System Cache Support
Date: Thu, 19 Dec 2019 18:44:41 +0530 [thread overview]
Message-ID: <1576761286-20451-1-git-send-email-smasetty@codeaurora.org> (raw)
Some hardware variants contain a system level cache or the last level
cache(llc). This cache is typically a large block which is shared by multiple
clients on the SOC. GPU uses the system cache to cache both the GPU data
buffers(like textures) as well the SMMU pagetables. This helps with
improved render performance as well as lower power consumption by reducing
the bus traffic to the system memory.
The system cache architecture allows the cache to be split into slices which
then be used by multiple SOC clients. This patch series is an effort to enable
and use two of those slices perallocated for the GPU, one for the GPU data
buffers and another for the GPU SMMU hardware pagetables.
To enable the system cache driver, add [1] to your stack if not already
present. Please review.
[1] https://lore.kernel.org/patchwork/patch/1165298/
Jordan Crouse (1):
iommu/arm-smmu: Pass io_pgtable_cfg to impl specific init_context
Sharat Masetty (3):
drm/msm: rearrange the gpu_rmw() function
drm/msm: Pass mmu features to generic layers
drm/msm/a6xx: Add support for using system cache(LLC)
Vivek Gautam (1):
iommu/arm-smmu: Add domain attribute for QCOM system cache
drivers/gpu/drm/msm/adreno/a2xx_gpu.c | 2 +-
drivers/gpu/drm/msm/adreno/a3xx_gpu.c | 2 +-
drivers/gpu/drm/msm/adreno/a4xx_gpu.c | 2 +-
drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 2 +-
drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 122 +++++++++++++++++++++++++++++++-
drivers/gpu/drm/msm/adreno/a6xx_gpu.h | 9 +++
drivers/gpu/drm/msm/adreno/adreno_gpu.c | 4 +-
drivers/gpu/drm/msm/adreno/adreno_gpu.h | 2 +-
drivers/gpu/drm/msm/msm_drv.c | 8 +++
drivers/gpu/drm/msm/msm_drv.h | 1 +
drivers/gpu/drm/msm/msm_gpu.c | 6 +-
drivers/gpu/drm/msm/msm_gpu.h | 6 +-
drivers/gpu/drm/msm/msm_iommu.c | 13 ++++
drivers/gpu/drm/msm/msm_mmu.h | 14 ++++
drivers/iommu/arm-smmu-impl.c | 3 +-
drivers/iommu/arm-smmu-qcom.c | 10 +++
drivers/iommu/arm-smmu.c | 25 +++++--
drivers/iommu/arm-smmu.h | 4 +-
include/linux/iommu.h | 1 +
19 files changed, 216 insertions(+), 20 deletions(-)
--
1.9.1
next reply other threads:[~2019-12-19 13:15 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-19 13:14 Sharat Masetty [this message]
2019-12-19 13:14 ` [PATCH 1/5] iommu/arm-smmu: Pass io_pgtable_cfg to impl specific init_context Sharat Masetty
2019-12-19 13:14 ` [PATCH 2/5] iommu/arm-smmu: Add domain attribute for QCOM system cache Sharat Masetty
2019-12-19 13:14 ` [PATCH 3/5] drm/msm: rearrange the gpu_rmw() function Sharat Masetty
2019-12-19 13:14 ` [PATCH 4/5] drm/msm: Pass mmu features to generic layers Sharat Masetty
2019-12-19 19:23 ` Jordan Crouse
2019-12-19 13:14 ` [PATCH 5/5] drm/msm/a6xx: Add support for using system cache(LLC) Sharat Masetty
2019-12-19 19:58 ` Jordan Crouse
2019-12-19 20:10 ` Jordan Crouse
2019-12-20 10:10 ` smasetty
2019-12-20 19:57 ` [Freedreno] " Jordan Crouse
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1576761286-20451-1-git-send-email-smasetty@codeaurora.org \
--to=smasetty@codeaurora.org \
--cc=dri-devel@freedesktop.org \
--cc=freedreno@lists.freedesktop.org \
--cc=iommu@lists.linux-foundation.org \
--cc=jcrouse@codeaurora.org \
--cc=joro@8bytes.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robin.murphy@arm.com \
--cc=saiprakash.ranjan@codeaurora.org \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).