drm/radeon: add userptr flag to limit it to anonymous memory v2
authorChristian König <christian.koenig@amd.com>
Thu, 7 Aug 2014 07:36:01 +0000 (09:36 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 Aug 2014 15:04:24 +0000 (11:04 -0400)
commitddd00e33e17a62c5f44377ab42e7562ccfae7bd1
treec891a3a9198cc82fafc2e4b2881c055a5351a272
parentf72a113a71ab08c4df8a5f80ab2f8a140feb81f6
drm/radeon: add userptr flag to limit it to anonymous memory v2

Avoid problems with writeback by limiting userptr to anonymous memory.

v2: add commit and code comments

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
drivers/gpu/drm/radeon/radeon_ttm.c
include/uapi/drm/radeon_drm.h