[Intel-gfx] [PATCH 7/7] drm/i915/gem: Acquire all vma/objects under reservation_ww_class

Chris Wilson chris at chris-wilson.co.uk
Tue Jun 23 16:46:33 UTC 2020


Quoting Thomas Hellström (Intel) (2020-06-23 17:29:46)
> 
> On 6/23/20 6:17 PM, Chris Wilson wrote:
> > Quoting Thomas Hellström (Intel) (2020-06-23 16:09:08)
> >> You can't take the dma_resv_lock inside a fence critical section.
> > I much prefer the alternative interpretation, you can't wait inside a
> > dma_resv_lock.
> > -Chris
> 
> I respect your point of view, athough I need to think we need to focus 
> on what we have to do in the i915 driver.

While aiming for small steps, each improving upon the last.

At the end of the day, whether it's an ww_mutex exclusive lock or a
fence shared lock, it's all steps in the pipeline.
-Chris


More information about the Intel-gfx mailing list