winsys/radeon: test the userptr ioctl to see if it's present
authorMarek Olšák <marek.olsak@amd.com>
Wed, 11 Feb 2015 19:25:16 +0000 (20:25 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 17 Feb 2015 16:31:48 +0000 (17:31 +0100)
commitc688988b0d68ffee2d8f1d64b0d402e23e8ce49e
treeac29a9a2fd87e58f9467f24f69f7db228d2e3b84
parent064847122a4c6dae6fdee41a4862948352cd929f
winsys/radeon: test the userptr ioctl to see if it's present

There is no other way to check for support.

Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/winsys/radeon/drm/radeon_drm_bo.c
src/gallium/winsys/radeon/drm/radeon_drm_cs.h
src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
src/gallium/winsys/radeon/drm/radeon_drm_winsys.h
src/gallium/winsys/radeon/drm/radeon_winsys.h