drm/ttm: optionally move duplicates to a separate list
authorChristian König <christian.koenig@amd.com>
Wed, 3 Dec 2014 14:46:48 +0000 (15:46 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 3 Dec 2014 23:26:52 +0000 (18:26 -0500)
commitaa35071c590461f95d0179cc8e730d49d610f773
tree72f9c722700be9a265857bff56f3843c7f0e298d
parent5e5c21cac1001089007260c48b0c89ebaace0e71
drm/ttm: optionally move duplicates to a separate list

This patch adds an optional list_head parameter to ttm_eu_reserve_buffers.
If specified duplicates in the execbuf list are no longer reported as errors,
but moved to this list instead.

Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/qxl/qxl_release.c
drivers/gpu/drm/radeon/radeon_gem.c
drivers/gpu/drm/radeon/radeon_object.c
drivers/gpu/drm/ttm/ttm_execbuf_util.c
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
include/drm/ttm/ttm_execbuf_util.h