]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iommu/arm-smmu: Add support for PRR bit setup
authorBibek Kumar Patro <quic_bibekkum@quicinc.com>
Thu, 12 Dec 2024 15:14:00 +0000 (20:44 +0530)
committerWill Deacon <will@kernel.org>
Tue, 7 Jan 2025 13:55:07 +0000 (13:55 +0000)
commit7f2ef1bfc758f0f206eac863ff8ee417d5bb1493
treeb20b2e2059c8bca400844cd5418888853c611aa5
parent445d7a8ed90e1725d148f2ce0f87d3ef3dd5f7ff
iommu/arm-smmu: Add support for PRR bit setup

Add an adreno-smmu-priv interface for drm/msm to call into arm-smmu-qcom
and initiate the "Partially Resident Region" (PRR) bit setup or reset
sequence as per request.

This will be used by GPU to setup the PRR bit and related configuration
registers through adreno-smmu private interface instead of directly
poking the smmu hardware.

Suggested-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Bibek Kumar Patro <quic_bibekkum@quicinc.com>
Link: https://lore.kernel.org/r/20241212151402.159102-4-quic_bibekkum@quicinc.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
drivers/iommu/arm/arm-smmu/arm-smmu.h
include/linux/adreno-smmu-priv.h