drm/radeon: return -ENOENT in fence_wait_next v2
authorChristian König <deathsimple@vodafone.de>
Wed, 2 May 2012 13:11:15 +0000 (15:11 +0200)
committerDave Airlie <airlied@redhat.com>
Thu, 3 May 2012 08:16:17 +0000 (09:16 +0100)
commit2f6bfe116e691eacef1aa41e4986200b20d67a0a
tree3bf2edc37929f8f8c5766788241ae0a3849e1f58
parent96050bca22f4fe6c8db175e02c8530a9720e5e9b
drm/radeon: return -ENOENT in fence_wait_next v2

We should signal the caller that we haven't waited at all.

v2: only change fence_wait_next not fence_wait_last.

Signed-off-by: Christian König <deathsimple@vodafone.de>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_fence.c