drm/radeon/kms: add a new gem_wait ioctl with read/write flags
authorMarek Olšák <maraeo@gmail.com>
Sun, 7 Aug 2011 20:39:04 +0000 (20:39 +0000)
committerDave Airlie <airlied@redhat.com>
Wed, 31 Aug 2011 18:25:48 +0000 (19:25 +0100)
commitd3ed74027f1dd197b7e08247a40d3bf9be1852b0
tree9d4fbd62d8fb5d505c1b934f13bccb762ab47dff
parentdfadbbdb57b3f2bb33e14f129a43047c6f0caefa
drm/radeon/kms: add a new gem_wait ioctl with read/write flags

The new DRM_RADEON_GEM_WAIT ioctl combines GEM_WAIT_IDLE and GEM_BUSY (there
is a NO_WAIT flag to get the latter) with USAGE_READ and USAGE_WRITE flags
to take advantage of the new ttm_bo_wait changes.

Also bump the DRM version.

Signed-off-by: Marek Olšák <maraeo@gmail.com>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_cs.c
drivers/gpu/drm/radeon/radeon_drv.c
drivers/gpu/drm/radeon/radeon_gem.c
drivers/gpu/drm/radeon/radeon_kms.c
drivers/gpu/drm/radeon/radeon_object.h
include/drm/radeon_drm.h