drm/amdgpu: validate duplicates in the CS as well
authorChristian König <christian.koenig@amd.com>
Thu, 3 Sep 2015 14:40:39 +0000 (16:40 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Sep 2015 21:23:34 +0000 (17:23 -0400)
commita5b750583eb4af69da1e659c7684b6d370b2ae97
tree250180ea814a918940a90c0986a855f935acf417
parent72d7668b5ba5180b651e8a07dd6ed62e4e26f207
drm/amdgpu: validate duplicates in the CS as well

This allows for multiple BOs to have the same reservation object.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c