drm/radeon/kms: implement the bo busy ioctl properly.
authorDave Airlie <airlied@redhat.com>
Thu, 20 Aug 2009 23:47:45 +0000 (09:47 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 20 Aug 2009 23:51:30 +0000 (09:51 +1000)
commite3b2415e281a97ade36d88404094a90cfea838c0
tree80c22c9a94fcf57d6cfb7b6375e771fdb1c03b42
parent6c30c53fd5ae6a99a23ad78e90c428d2c8ffb07f
drm/radeon/kms: implement the bo busy ioctl properly.

The previous patch assumes the ioctl already existed, when
it actually didn't.

It also didn't return the correct error code.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_gem.c
drivers/gpu/drm/radeon/radeon_kms.c
include/drm/radeon_drm.h