Re: [Intel-gfx] [PATCH 1/4] dma-buf: change DMA-buf locking convention v2

2019-10-22 Thread Daniel Vetter
On Tue, Oct 22, 2019 at 12:01:30PM +0200, Daniel Vetter wrote: > On Mon, Oct 21, 2019 at 01:15:21PM +0200, Christian König wrote: > > This patch is a stripped down version of the locking changes > > necessary to support dynamic DMA-buf handling. > > > > It adds a dynamic flag for both importers as

Re: [Intel-gfx] [PATCH 1/4] dma-buf: change DMA-buf locking convention v2

2019-10-22 Thread Daniel Vetter
On Mon, Oct 21, 2019 at 01:15:21PM +0200, Christian König wrote: > This patch is a stripped down version of the locking changes > necessary to support dynamic DMA-buf handling. > > It adds a dynamic flag for both importers as well as exporters > so that drivers can choose if they want the reservat

[Intel-gfx] [PATCH 1/4] dma-buf: change DMA-buf locking convention v2

2019-10-21 Thread Christian König
This patch is a stripped down version of the locking changes necessary to support dynamic DMA-buf handling. It adds a dynamic flag for both importers as well as exporters so that drivers can choose if they want the reservation object locked or unlocked during mapping of attachments. For compatibi