[PATCH 0/3] etnaviv softpin support

Lucas Stach l.stach at pengutronix.de
Fri Aug 2 17:29:50 UTC 2019


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

-- 
2.20.1



More information about the dri-devel mailing list