Re: [PATCH] drm/amdgpu: restore wait-free fastpath for GEM_WAIT_IDLE

2025-01-27 Thread Christian König
Am 27.01.25 um 17:33 schrieb Lucas Stach: Hi Christian, Am Montag, dem 27.01.2025 um 17:14 +0100 schrieb Christian König: Am 27.01.25 um 17:02 schrieb Lucas Stach: This effectively reverts 0fea2ed61e7f ("drm/amdgpu: Remove call to reservation_object_test_signaled_rcu before wait"), as the prem

[PATCH] drm/amdgpu: restore wait-free fastpath for GEM_WAIT_IDLE

2025-01-27 Thread Lucas Stach
This effectively reverts 0fea2ed61e7f ("drm/amdgpu: Remove call to reservation_object_test_signaled_rcu before wait"), as the premise of that commit is wrong. dma_resv_wait_timeout() without a timeout will not turn into a wait-free dma_resv_test_signaled, but will wait a jiffy for unsignaled fences

Re: [PATCH] drm/amdgpu: restore wait-free fastpath for GEM_WAIT_IDLE

2025-01-27 Thread Lucas Stach
Hi Christian, Am Montag, dem 27.01.2025 um 17:14 +0100 schrieb Christian König: > Am 27.01.25 um 17:02 schrieb Lucas Stach: > > This effectively reverts 0fea2ed61e7f ("drm/amdgpu: Remove call to > > reservation_object_test_signaled_rcu before wait"), as the premise of > > that commit is wrong. dma

Re: [PATCH] drm/amdgpu: restore wait-free fastpath for GEM_WAIT_IDLE

2025-01-27 Thread Christian König
Am 27.01.25 um 17:02 schrieb Lucas Stach: This effectively reverts 0fea2ed61e7f ("drm/amdgpu: Remove call to reservation_object_test_signaled_rcu before wait"), as the premise of that commit is wrong. dma_resv_wait_timeout() without a timeout will not turn into a wait-free dma_resv_test_signaled,