dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] panfrost,panthor: Cached maps and explicit flushing
@ 2025-08-22 14:29 Faith Ekstrand
  2025-08-22 14:29 ` [PATCH 1/7] drm/shmem: Add a drm_gem_shmem_sync_mmap() helper Faith Ekstrand
                   ` (7 more replies)
  0 siblings, 8 replies; 18+ messages in thread
From: Faith Ekstrand @ 2025-08-22 14:29 UTC (permalink / raw)
  To: dri-devel; +Cc: Faith Ekstrand

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


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2025-09-01  8:47 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-22 14:29 [PATCH 0/7] panfrost,panthor: Cached maps and explicit flushing Faith Ekstrand
2025-08-22 14:29 ` [PATCH 1/7] drm/shmem: Add a drm_gem_shmem_sync_mmap() helper Faith Ekstrand
2025-08-22 15:13   ` Boris Brezillon
2025-08-23  5:36   ` kernel test robot
2025-09-01  8:18   ` Adrian Larumbe
2025-09-01  8:47     ` Boris Brezillon
2025-08-22 14:29 ` [PATCH 2/7] drm/panthor: Add flag to map GEM object Write-Back Cacheable Faith Ekstrand
2025-08-22 15:19   ` Boris Brezillon
2025-08-22 14:29 ` [PATCH 3/7] drm/panthor: Add a PANTHOR_BO_SYNC ioctl Faith Ekstrand
2025-08-22 15:28   ` Boris Brezillon
2025-08-22 14:29 ` [PATCH 4/7] drm/panthor: Bump the driver version to 1.6 Faith Ekstrand
2025-09-01  8:21   ` Adrian Larumbe
2025-08-22 14:29 ` [PATCH 5/7] drm/panfrost: Add flag to map GEM object Write-Back Cacheable Faith Ekstrand
2025-09-01  8:24   ` Adrian Larumbe
2025-08-22 14:29 ` [PATCH 6/7] drm/panfrost: Add a PANFROST_SYNC_BO ioctl Faith Ekstrand
2025-08-24  4:01   ` kernel test robot
2025-08-22 14:29 ` [PATCH 7/7] drm/panfrost: Bump the driver version to 1.5 Faith Ekstrand
2025-08-22 15:05 ` [PATCH 0/7] panfrost,panthor: Cached maps and explicit flushing Boris Brezillon

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).