drm/radeon: add userptr flag to directly validate the BO to GTT
authorChristian König <christian.koenig@amd.com>
Thu, 7 Aug 2014 07:36:02 +0000 (09:36 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 Aug 2014 15:04:25 +0000 (11:04 -0400)
commit2a84a4476d6e13de72472f6ca4338aed0a8269b8
treea39411c8cb0dfca623e12801511818a82cd4d74a
parentddd00e33e17a62c5f44377ab42e7562ccfae7bd1
drm/radeon: add userptr flag to directly validate the BO to GTT

This way we test userptr availability at BO creation time instead of first use.

Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_gem.c
include/uapi/drm/radeon_drm.h