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

Thierry Reding thierry.reding at gmail.com
Tue Apr 4 12:25:50 UTC 2023


From: Thierry Reding <treding at nvidia.com>

On Wed, 1 Mar 2023 15:51:06 +0200, Mikko Perttunen wrote:
> From: Mikko Perttunen <mperttunen at nvidia.com>
> 
> 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.
> 
> [...]

Applied, thanks!

[1/1] gpu: host1x: Don't rely on dma_fence_wait_timeout return value
      commit: c1aaee94380874fd40f7bb8417c597aba3f72c75

Best regards,
-- 
Thierry Reding <treding at nvidia.com>


More information about the dri-devel mailing list