[PATCH v2 0/5] drm/panfrost: Add extra GPU-usage flags
Boris Brezillon
boris.brezillon at collabora.com
Fri Oct 1 07:34:22 PDT 2021
Hello,
This is a follow-up of [1], which was adding the read/write
restrictions on GPU buffers. Robin and Steven suggested that I add a
flag to restrict the shareability domain on GPU-private buffers, so
here it is.
As you can see, the first patch is flagges RFC, since I'm not sure
adding a new IOMMU_ flag is the right solution, but IOMMU_CACHE
doesn't feel like a good fit either. Please let me know if you have
better ideas.
Regards,
Boris
[1]https://patchwork.kernel.org/project/dri-devel/patch/20210930184723.1482426-1-boris.brezillon@collabora.com/
Boris Brezillon (5):
[RFC]iommu: Add a IOMMU_DEVONLY protection flag
[RFC]iommu/io-pgtable-arm: Take the DEVONLY flag into account on
ARM_MALI_LPAE
drm/panfrost: Add PANFROST_BO_NO{READ,WRITE} flags
drm/panfrost: Add a PANFROST_BO_GPUONLY flag
drm/panfrost: Bump the driver version to 1.3
drivers/gpu/drm/panfrost/panfrost_drv.c | 15 +++++++++++++--
drivers/gpu/drm/panfrost/panfrost_gem.c | 3 +++
drivers/gpu/drm/panfrost/panfrost_gem.h | 3 +++
drivers/gpu/drm/panfrost/panfrost_mmu.c | 11 ++++++++++-
drivers/iommu/io-pgtable-arm.c | 25 +++++++++++++++++--------
include/linux/iommu.h | 7 +++++++
include/uapi/drm/panfrost_drm.h | 3 +++
7 files changed, 56 insertions(+), 11 deletions(-)
--
2.31.1
More information about the linux-arm-kernel
mailing list