drm/radeon/kms: implement bo busy check + current domain
commitcefb87efc9aa0288849149484870d5ab989fbd59
authorDave Airlie <airlied@redhat.com>
Sun, 16 Aug 2009 11:05:45 +0000 (16 21:05 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 17 Aug 2009 02:28:56 +0000 (17 12:28 +1000)
tree0df20514740f6a816da3700989183bb253ada0c1
parentde1b28989edff519d0548ebaa3f94fd3d1524cf2
drm/radeon/kms: implement bo busy check + current domain

This implements the busy ioctl along with a current domain check.
returns 0 or -EBUSY
puts the current domain no matter what the answer.

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