]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
drm/msm: Remove call to reservation_object_test_signaled_rcu before wait
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 29 Aug 2016 07:08:26 +0000 (08:08 +0100)
committerRob Clark <robdclark@gmail.com>
Thu, 15 Sep 2016 21:21:03 +0000 (17:21 -0400)
commitf755e227dc0ad9f2b58937db489b9a6f6c7b76d9
tree001411a939b9b5589494324f8a97409a66c832bb
parent5f6f5e08b1fba96fab0f7fa14025f956d25067ff
drm/msm: Remove call to reservation_object_test_signaled_rcu before wait

Since fence_wait_timeout_reservation_object_wait_timeout_rcu() with a
timeout of 0 becomes reservation_object_test_signaled_rcu(), we do not
need to handle such conversion in the caller. The only challenge are
those callers that wish to differentiate the error code between the
nonblocking busy check and potentially blocking wait.

v2: 9 is only 0 in German.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Rob Clark <robdclark@gmail.com>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_gem.c