mbox series

[0/3] etnaviv softpin support

Message ID 20190802172953.4586-1-l.stach@pengutronix.de (mailing list archive)
Headers show
Series etnaviv softpin support | expand

Message

Lucas Stach Aug. 2, 2019, 5:29 p.m. UTC
Hi all,

this implements the last missing bits for softpin aka putting userspace
in charge of the GPU virtual address space. This builds on top of the
per-process address space series. As this is quite a stack of patches
now, I'm providing a git branch [1] with all the necessary patches.
Please note that I have not yet worked in the feedback I got for the
per-process address space patches.

The corresponding userspace bits can be found at [2]. The Mesa changes
always use softpin where possible and now finally allow GC7000 support
to work with a non-horrible UAPI interface.

Regards,
Lucas

[1] https://git.pengutronix.de/git/lst/linux etnaviv/experimental
[2] https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1559

Lucas Stach (3):
  drm/etnaviv: skip command stream validation on PPAS capable GPUs
  drm/etnaviv: allow to request specific virtual address for gem mapping
  drm/etnaviv: implement softpin

 drivers/gpu/drm/etnaviv/etnaviv_drv.c        |  2 +-
 drivers/gpu/drm/etnaviv/etnaviv_drv.h        |  2 ++
 drivers/gpu/drm/etnaviv/etnaviv_gem.c        |  4 +--
 drivers/gpu/drm/etnaviv/etnaviv_gem.h        |  3 ++-
 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c | 28 ++++++++++++++++++--
 drivers/gpu/drm/etnaviv/etnaviv_gpu.c        |  9 +++++++
 drivers/gpu/drm/etnaviv/etnaviv_mmu.c        | 16 +++++++++--
 drivers/gpu/drm/etnaviv/etnaviv_mmu.h        |  2 +-
 include/uapi/drm/etnaviv_drm.h               |  5 +++-
 9 files changed, 61 insertions(+), 10 deletions(-)