[PATCH] gpu: host1x: Don't rely on dma_fence_wait_timeout return value

2023-03-01 Thread Mikko Perttunen
From: Mikko Perttunen dma_fence_wait_timeout (along with a host of other jiffies-based timeouting functions) returns zero both in case of timeout and when the wait completes during the last jiffy before timeout. As such, we can't rely on it to distinguish between success and timeout. To prevent

Re: [PATCH] gpu: host1x: Don't rely on dma_fence_wait_timeout return value

2023-04-04 Thread Thierry Reding
From: Thierry Reding On Wed, 1 Mar 2023 15:51:06 +0200, Mikko Perttunen wrote: > From: Mikko Perttunen > > dma_fence_wait_timeout (along with a host of other jiffies-based > timeouting functions) returns zero both in case of timeout and when > the wait completes during the last jiffy before tim