drm/amdgpu: only support IBs in the buffer list (v2)
authorMarek Olšák <marek.olsak@amd.com>
Tue, 2 Jun 2015 15:44:49 +0000 (17:44 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 4 Jun 2015 01:04:05 +0000 (21:04 -0400)
commit3ccec53c294cbec2af44b6b24f70349637c45428
tree4b0c5446527b15d670c23ce3b52c6a2f76d94c2f
parent81c59f54125f9ff84546b6ba26c321662562703d
drm/amdgpu: only support IBs in the buffer list (v2)

amdgpu_cs_find_mapping doesn't work without all buffers being validated,
so the TTM validation must be done first.

v2: only use amdgpu_cs_find_mapping for UVD/VCE VM emulation

Signed-off-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
include/uapi/drm/amdgpu_drm.h