[PATCH 0/3] more dma-buf lockdep priming

Daniel Vetter daniel.vetter at ffwll.ch
Tue Nov 19 21:08:41 UTC 2019


Hi all,

While looking at (dynamic) dma-buf issues and ideas I've spotted a bit
more room for locking down the cross-driver dma_resv rules.

Only functional fallout is a tiny patch for msm, assuming I didn't botch
anything in the auditing of all relevant code.

Comments, review and testing very much appreciated, as usual.

Cheers, Daniel

Daniel Vetter (3):
  drm/modeset: Prime modeset lock vs dma_resv
  dma-resv: Also prime acquire ctx for lockdep
  drm/msm: Don't init ww_mutec acquire ctx before needed

 drivers/dma-buf/dma-resv.c           |  8 +++++++-
 drivers/gpu/drm/drm_mode_config.c    | 28 ++++++++++++++++++++++++++++
 drivers/gpu/drm/msm/msm_gem_submit.c |  2 +-
 3 files changed, 36 insertions(+), 2 deletions(-)

-- 
2.24.0



More information about the dri-devel mailing list