[Intel-gfx] [PATCH v3 0/4] shmem helpers for vgem

Daniel Vetter daniel.vetter at ffwll.ch
Thu Jun 3 16:41:09 UTC 2021


Hi all,

Another small iteration, lost another patch, so another full resend.

Thomas Zimmermann pointed out how to get at drm_gem_shmem_funcs without
getting at drm_gem_shmem_funcs directly.

Test-with: 20210527140732.5762-1-daniel.vetter at ffwll.ch

Cheers, Daniel



Daniel Vetter (4):
  dma-buf: Require VM_PFNMAP vma for mmap
  drm/shmem-helper: Switch to vmf_insert_pfn
  drm/shmem-helper: Align to page size in dumb_create
  drm/vgem: use shmem helpers

 drivers/dma-buf/dma-buf.c              |  15 +-
 drivers/gpu/drm/Kconfig                |   3 +-
 drivers/gpu/drm/drm_gem_shmem_helper.c |   8 +-
 drivers/gpu/drm/vgem/vgem_drv.c        | 342 +------------------------
 4 files changed, 32 insertions(+), 336 deletions(-)

-- 
2.31.0



More information about the Intel-gfx mailing list