[PATCH v2 0/5] vc4 V3D fencing and msm/etnaviv cleanups

Eric Anholt eric at anholt.net
Wed Apr 12 19:11:57 UTC 2017


Since I got feedback that the dma_fence .release pattern I followed
was unnecessary, here's a resubmit with that changed and the two
drivers I was looking at cleaned up as well.  As before, they're only
compile-tested.

I'd prefer that if msm/etnaviv developers like them, they pull those
two patches themselves.

Eric Anholt (5):
  drm/msm: Expose our reservation object when exporting a dmabuf.
  drm/etnaviv: Expose our reservation object when exporting a dmabuf.
  drm/msm: Reuse dma_fence_release.
  drm/etnaviv: Reuse dma_fence_release.
  drm/vc4: Expose dma-buf fences for V3D rendering.

 drivers/gpu/drm/etnaviv/etnaviv_drv.c       |   1 +
 drivers/gpu/drm/etnaviv/etnaviv_drv.h       |   1 +
 drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c |   7 ++
 drivers/gpu/drm/etnaviv/etnaviv_gpu.c       |  11 +--
 drivers/gpu/drm/msm/msm_drv.c               |   1 +
 drivers/gpu/drm/msm/msm_drv.h               |   1 +
 drivers/gpu/drm/msm/msm_fence.c             |  10 +-
 drivers/gpu/drm/msm/msm_gem_prime.c         |   7 ++
 drivers/gpu/drm/vc4/Makefile                |   1 +
 drivers/gpu/drm/vc4/vc4_bo.c                |  37 +++++++-
 drivers/gpu/drm/vc4/vc4_drv.c               |   3 +-
 drivers/gpu/drm/vc4/vc4_drv.h               |  30 ++++++
 drivers/gpu/drm/vc4/vc4_fence.c             |  56 ++++++++++++
 drivers/gpu/drm/vc4/vc4_gem.c               | 136 +++++++++++++++++++++++++++-
 drivers/gpu/drm/vc4/vc4_irq.c               |   4 +
 15 files changed, 284 insertions(+), 22 deletions(-)
 create mode 100644 drivers/gpu/drm/vc4/vc4_fence.c

-- 
2.11.0



More information about the dri-devel mailing list