This series implements cached maps and explicit flushing for both panfrost
and panthor.  To avoid code/bug duplication, the tricky guts of the cache
flusing ioctl which walk the sg list are broken into a new common shmem
helper which can be used by any driver.

The PanVK MR to use this lives here:

https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36385

Faith Ekstrand (6):
  drm/shmem: Add a drm_gem_shmem_sync_mmap() helper
  drm/panthor: Add a PANTHOR_BO_SYNC ioctl
  drm/panthor: Bump the driver version to 1.6
  drm/panfrost: Add flag to map GEM object Write-Back Cacheable
  drm/panfrost: Add a PANFROST_SYNC_BO ioctl
  drm/panfrost: Bump the driver version to 1.5

Loïc Molinari (1):
  drm/panthor: Add flag to map GEM object Write-Back Cacheable

 drivers/gpu/drm/drm_gem_shmem_helper.c  | 64 +++++++++++++++++++++++
 drivers/gpu/drm/panfrost/panfrost_drv.c | 67 +++++++++++++++++++++++--
 drivers/gpu/drm/panfrost/panfrost_gem.c | 23 +++++++++
 drivers/gpu/drm/panfrost/panfrost_gem.h |  2 +
 drivers/gpu/drm/panthor/panthor_drv.c   | 58 +++++++++++++++++++--
 drivers/gpu/drm/panthor/panthor_gem.c   | 23 +++++++++
 drivers/gpu/drm/panthor/panthor_gem.h   |  3 ++
 include/drm/drm_gem_shmem_helper.h      |  3 ++
 include/uapi/drm/panfrost_drm.h         | 46 +++++++++++++++++
 include/uapi/drm/panthor_drm.h          | 65 ++++++++++++++++++++++++
 10 files changed, 348 insertions(+), 6 deletions(-)

-- 
2.50.1

Reply via email to