]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3a886dac77fb53add7b9d20b3f992cd31d46a892
tree72f9c722700be9a265857bff56f3843c7f0e298d
parentbeda63373dde71b5e3a4e4b334aa58198ec2724e
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