Re: [PATCH 3/3] drm/ttm: remove ttm_bo_wait_unreserved

2019-11-06 Thread Daniel Vetter
On Mon, Nov 04, 2019 at 06:38:01PM +0100, Daniel Vetter wrote: > With nouveau fixed all ttm-using drives have the correct nesting of > mmap_sem vs dma_resv, and we can just lock the buffer. > > Assuming I didn't screw up anything with my audit of course. > > v2: > - Dont forget wu_mutex (Christia

[PATCH 3/3] drm/ttm: remove ttm_bo_wait_unreserved

2019-11-04 Thread Daniel Vetter
With nouveau fixed all ttm-using drives have the correct nesting of mmap_sem vs dma_resv, and we can just lock the buffer. Assuming I didn't screw up anything with my audit of course. v2: - Dont forget wu_mutex (Christian König) - Keep the mmap_sem-less wait optimization (Thomas) - Use _lock_inte

[PATCH 3/3] drm/ttm: remove ttm_bo_wait_unreserved

2019-10-21 Thread Daniel Vetter
With nouveau fixed all ttm-using drives have the correct nesting of mmap_sem vs dma_resv, and we can just lock the buffer. Assuming I didn't screw up anything with my audit of course. v2: - Dont forget wu_mutex (Christian König) - Keep the mmap_sem-less wait optimization (Thomas) - Use _lock_inte

Re: [PATCH 3/3] drm/ttm: remove ttm_bo_wait_unreserved

2019-08-22 Thread VMware
On 8/21/19 4:10 PM, Daniel Vetter wrote: On Wed, Aug 21, 2019 at 3:16 PM Thomas Hellström (VMware) wrote: On 8/20/19 4:53 PM, Daniel Vetter wrote: With nouveau fixed all ttm-using drives have the correct nesting of mmap_sem vs dma_resv, and we can just lock the buffer. Assuming I didn't screw

Re: [PATCH 3/3] drm/ttm: remove ttm_bo_wait_unreserved

2019-08-22 Thread VMware
On 8/21/19 5:22 PM, Daniel Vetter wrote: On Wed, Aug 21, 2019 at 5:19 PM Thomas Hellström (VMware) wrote: On 8/21/19 5:14 PM, Daniel Vetter wrote: On Wed, Aug 21, 2019 at 5:03 PM Thomas Hellström (VMware) wrote: On 8/21/19 4:47 PM, Daniel Vetter wrote: On Wed, Aug 21, 2019 at 4:27 PM Thomas

Re: [PATCH 3/3] drm/ttm: remove ttm_bo_wait_unreserved

2019-08-22 Thread VMware
On 8/20/19 4:53 PM, Daniel Vetter wrote: With nouveau fixed all ttm-using drives have the correct nesting of mmap_sem vs dma_resv, and we can just lock the buffer. Assuming I didn't screw up anything with my audit of course. Signed-off-by: Daniel Vetter Cc: Christian Koenig Cc: Huang Rui Cc:

Re: [PATCH 3/3] drm/ttm: remove ttm_bo_wait_unreserved

2019-08-22 Thread VMware
On 8/21/19 5:14 PM, Daniel Vetter wrote: On Wed, Aug 21, 2019 at 5:03 PM Thomas Hellström (VMware) wrote: On 8/21/19 4:47 PM, Daniel Vetter wrote: On Wed, Aug 21, 2019 at 4:27 PM Thomas Hellström (VMware) wrote: On 8/21/19 4:09 PM, Daniel Vetter wrote: On Wed, Aug 21, 2019 at 2:47 PM Thomas

Re: [PATCH 3/3] drm/ttm: remove ttm_bo_wait_unreserved

2019-08-22 Thread VMware
On 8/21/19 2:40 PM, Thomas Hellström (VMware) wrote: On 8/20/19 4:53 PM, Daniel Vetter wrote: With nouveau fixed all ttm-using drives have the correct nesting of mmap_sem vs dma_resv, and we can just lock the buffer. Assuming I didn't screw up anything with my audit of course. Signed-off-by: D

Re: [PATCH 3/3] drm/ttm: remove ttm_bo_wait_unreserved

2019-08-22 Thread VMware
On 8/20/19 4:53 PM, Daniel Vetter wrote: With nouveau fixed all ttm-using drives have the correct nesting of mmap_sem vs dma_resv, and we can just lock the buffer. Assuming I didn't screw up anything with my audit of course. Signed-off-by: Daniel Vetter Cc: Christian Koenig Cc: Huang Rui Cc:

Re: [PATCH 3/3] drm/ttm: remove ttm_bo_wait_unreserved

2019-08-22 Thread VMware
On 8/21/19 4:09 PM, Daniel Vetter wrote: On Wed, Aug 21, 2019 at 2:47 PM Thomas Hellström (VMware) wrote: On 8/21/19 2:40 PM, Thomas Hellström (VMware) wrote: On 8/20/19 4:53 PM, Daniel Vetter wrote: With nouveau fixed all ttm-using drives have the correct nesting of mmap_sem vs dma_resv, and

Re: [PATCH 3/3] drm/ttm: remove ttm_bo_wait_unreserved

2019-08-22 Thread VMware
On 8/21/19 4:47 PM, Daniel Vetter wrote: On Wed, Aug 21, 2019 at 4:27 PM Thomas Hellström (VMware) wrote: On 8/21/19 4:09 PM, Daniel Vetter wrote: On Wed, Aug 21, 2019 at 2:47 PM Thomas Hellström (VMware) wrote: On 8/21/19 2:40 PM, Thomas Hellström (VMware) wrote: On 8/20/19 4:53 PM, Daniel

[PATCH 3/3] drm/ttm: remove ttm_bo_wait_unreserved

2019-08-21 Thread Daniel Vetter
With nouveau fixed all ttm-using drives have the correct nesting of mmap_sem vs dma_resv, and we can just lock the buffer. Assuming I didn't screw up anything with my audit of course. v2: - Dont forget wu_mutex (Christian König) - Keep the mmap_sem-less wait optimization (Thomas) - Use _lock_inte

Re: [PATCH 3/3] drm/ttm: remove ttm_bo_wait_unreserved

2019-08-21 Thread Daniel Vetter
On Wed, Aug 21, 2019 at 5:19 PM Thomas Hellström (VMware) wrote: > On 8/21/19 5:14 PM, Daniel Vetter wrote: > > On Wed, Aug 21, 2019 at 5:03 PM Thomas Hellström (VMware) > > wrote: > >> On 8/21/19 4:47 PM, Daniel Vetter wrote: > >>> On Wed, Aug 21, 2019 at 4:27 PM Thomas Hellström (VMware) > >>>

Re: [PATCH 3/3] drm/ttm: remove ttm_bo_wait_unreserved

2019-08-21 Thread Daniel Vetter
On Wed, Aug 21, 2019 at 5:03 PM Thomas Hellström (VMware) wrote: > On 8/21/19 4:47 PM, Daniel Vetter wrote: > > On Wed, Aug 21, 2019 at 4:27 PM Thomas Hellström (VMware) > > wrote: > >> On 8/21/19 4:09 PM, Daniel Vetter wrote: > >>> On Wed, Aug 21, 2019 at 2:47 PM Thomas Hellström (VMware) > >>>

Re: [PATCH 3/3] drm/ttm: remove ttm_bo_wait_unreserved

2019-08-21 Thread Koenig, Christian
Am 21.08.19 um 16:47 schrieb Daniel Vetter: > On Wed, Aug 21, 2019 at 4:27 PM Thomas Hellström (VMware) > wrote: >> On 8/21/19 4:09 PM, Daniel Vetter wrote: >>> On Wed, Aug 21, 2019 at 2:47 PM Thomas Hellström (VMware) >>> wrote: On 8/21/19 2:40 PM, Thomas Hellström (VMware) wrote: > On

Re: [PATCH 3/3] drm/ttm: remove ttm_bo_wait_unreserved

2019-08-21 Thread Daniel Vetter
On Wed, Aug 21, 2019 at 4:27 PM Thomas Hellström (VMware) wrote: > On 8/21/19 4:09 PM, Daniel Vetter wrote: > > On Wed, Aug 21, 2019 at 2:47 PM Thomas Hellström (VMware) > > wrote: > >> On 8/21/19 2:40 PM, Thomas Hellström (VMware) wrote: > >>> On 8/20/19 4:53 PM, Daniel Vetter wrote: > With

Re: [PATCH 3/3] drm/ttm: remove ttm_bo_wait_unreserved

2019-08-21 Thread Daniel Vetter
On Wed, Aug 21, 2019 at 4:30 PM Thomas Hellström (VMware) wrote: > > On 8/21/19 4:10 PM, Daniel Vetter wrote: > > On Wed, Aug 21, 2019 at 3:16 PM Thomas Hellström (VMware) > > wrote: > >> On 8/20/19 4:53 PM, Daniel Vetter wrote: > >>> With nouveau fixed all ttm-using drives have the correct nesti

Re: [PATCH 3/3] drm/ttm: remove ttm_bo_wait_unreserved

2019-08-21 Thread Daniel Vetter
On Wed, Aug 21, 2019 at 3:16 PM Thomas Hellström (VMware) wrote: > > On 8/20/19 4:53 PM, Daniel Vetter wrote: > > With nouveau fixed all ttm-using drives have the correct nesting of > > mmap_sem vs dma_resv, and we can just lock the buffer. > > > > Assuming I didn't screw up anything with my audit

Re: [PATCH 3/3] drm/ttm: remove ttm_bo_wait_unreserved

2019-08-21 Thread Daniel Vetter
On Wed, Aug 21, 2019 at 2:47 PM Thomas Hellström (VMware) wrote: > On 8/21/19 2:40 PM, Thomas Hellström (VMware) wrote: > > On 8/20/19 4:53 PM, Daniel Vetter wrote: > >> With nouveau fixed all ttm-using drives have the correct nesting of > >> mmap_sem vs dma_resv, and we can just lock the buffer.

Re: [PATCH 3/3] drm/ttm: remove ttm_bo_wait_unreserved

2019-08-20 Thread Koenig, Christian
Am 20.08.19 um 17:41 schrieb Daniel Vetter: > On Tue, Aug 20, 2019 at 5:34 PM Koenig, Christian > wrote: >> Am 20.08.19 um 17:21 schrieb Daniel Vetter: >>> On Tue, Aug 20, 2019 at 5:16 PM Koenig, Christian >>> wrote: Am 20.08.19 um 16:53 schrieb Daniel Vetter: > With nouveau fixed all tt

Re: [PATCH 3/3] drm/ttm: remove ttm_bo_wait_unreserved

2019-08-20 Thread Daniel Vetter
On Tue, Aug 20, 2019 at 5:34 PM Koenig, Christian wrote: > > Am 20.08.19 um 17:21 schrieb Daniel Vetter: > > On Tue, Aug 20, 2019 at 5:16 PM Koenig, Christian > > wrote: > >> Am 20.08.19 um 16:53 schrieb Daniel Vetter: > >>> With nouveau fixed all ttm-using drives have the correct nesting of > >>

Re: [PATCH 3/3] drm/ttm: remove ttm_bo_wait_unreserved

2019-08-20 Thread Koenig, Christian
Am 20.08.19 um 17:21 schrieb Daniel Vetter: > On Tue, Aug 20, 2019 at 5:16 PM Koenig, Christian > wrote: >> Am 20.08.19 um 16:53 schrieb Daniel Vetter: >>> With nouveau fixed all ttm-using drives have the correct nesting of >>> mmap_sem vs dma_resv, and we can just lock the buffer. >>> >>> Assumin

Re: [PATCH 3/3] drm/ttm: remove ttm_bo_wait_unreserved

2019-08-20 Thread Daniel Vetter
On Tue, Aug 20, 2019 at 5:16 PM Koenig, Christian wrote: > > Am 20.08.19 um 16:53 schrieb Daniel Vetter: > > With nouveau fixed all ttm-using drives have the correct nesting of > > mmap_sem vs dma_resv, and we can just lock the buffer. > > > > Assuming I didn't screw up anything with my audit of c

Re: [PATCH 3/3] drm/ttm: remove ttm_bo_wait_unreserved

2019-08-20 Thread Koenig, Christian
Am 20.08.19 um 16:53 schrieb Daniel Vetter: > With nouveau fixed all ttm-using drives have the correct nesting of > mmap_sem vs dma_resv, and we can just lock the buffer. > > Assuming I didn't screw up anything with my audit of course. > > Signed-off-by: Daniel Vetter > Cc: Christian Koenig > Cc:

[PATCH 3/3] drm/ttm: remove ttm_bo_wait_unreserved

2019-08-20 Thread Daniel Vetter
With nouveau fixed all ttm-using drives have the correct nesting of mmap_sem vs dma_resv, and we can just lock the buffer. Assuming I didn't screw up anything with my audit of course. Signed-off-by: Daniel Vetter Cc: Christian Koenig Cc: Huang Rui Cc: Gerd Hoffmann Cc: "VMware Graphics" Cc: