[PATCH 0/4] shmem helpers for vgem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

Another round at attempting to use shmem helpers for vgem and also getting
them to not use VM_MIXEDMAP. I found an igt which had some funky encoded
expectations, so now neeeds a cover letter to test intel-gfx-ci how to
test this.

I also noticed that etnaviv and tegra are also using VM_MIXEDMAP (aside
from ttm based drivers).

Test-with: 20210527140732.5762-1-daniel.vetter@xxxxxxxx

Cheers, Daniel

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

 drivers/dma-buf/dma-buf.c              |  15 +-
 drivers/gpu/drm/Kconfig                |   1 +
 drivers/gpu/drm/drm_gem_shmem_helper.c |   8 +-
 drivers/gpu/drm/vgem/vgem_drv.c        | 340 +------------------------
 4 files changed, 21 insertions(+), 343 deletions(-)

-- 
2.31.0




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux