Re: [PATCH v3] drm/nouveau: fix incorrect conversion to dma_resv_wait_timeout()

2023-04-17 Thread Karol Herbst
On Mon, Apr 17, 2023 at 7:55 AM Christian König wrote: > > Am 15.04.23 um 04:02 schrieb John Ogness: > > Commit 41d351f29528 ("drm/nouveau: stop using ttm_bo_wait") > > converted from ttm_bo_wait_ctx() to dma_resv_wait_timeout(). > > However, dma_resv_wait_timeout() returns greater than zero on >

Re: [PATCH v3] drm/nouveau: fix incorrect conversion to dma_resv_wait_timeout()

2023-04-16 Thread Christian König
Am 15.04.23 um 04:02 schrieb John Ogness: Commit 41d351f29528 ("drm/nouveau: stop using ttm_bo_wait") converted from ttm_bo_wait_ctx() to dma_resv_wait_timeout(). However, dma_resv_wait_timeout() returns greater than zero on success as opposed to ttm_bo_wait_ctx(). As a result, relocs will fail

[PATCH v3] drm/nouveau: fix incorrect conversion to dma_resv_wait_timeout()

2023-04-14 Thread John Ogness
Commit 41d351f29528 ("drm/nouveau: stop using ttm_bo_wait") converted from ttm_bo_wait_ctx() to dma_resv_wait_timeout(). However, dma_resv_wait_timeout() returns greater than zero on success as opposed to ttm_bo_wait_ctx(). As a result, relocs will fail and log errors even when it was a success.