drm/amdgpu: stop adding dummy entry in amdgpu_ttm_placement_init
authorChristian König <christian.koenig@amd.com>
Mon, 15 Aug 2016 12:08:54 +0000 (14:08 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 22 Aug 2016 17:47:24 +0000 (13:47 -0400)
commit6369f6f133f8388dbb9aa4040b06c5ac32a2fe8b
treeeaec970d64f0472e68b38bc3416bc0ccb0c15ded
parentfaceaf6a731110f6b3c1a57f897a613d720d2156
drm/amdgpu: stop adding dummy entry in amdgpu_ttm_placement_init

AMDGPU_GEM_CREATE_NO_CPU_ACCESS and AMDGPU_GEM_CREATE_CPU_ACCESS_REQUIRED are
obviously mutual exclusive. So stop adding a dummy entry without effect when
both are specified.

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