summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2015-06-02 18:44:49 +0300
committerAlex Deucher <alexander.deucher@amd.com>2015-06-04 04:04:05 +0300
commit3ccec53c294cbec2af44b6b24f70349637c45428 (patch)
tree4b0c5446527b15d670c23ce3b52c6a2f76d94c2f /include
parent81c59f54125f9ff84546b6ba26c321662562703d (diff)
downloadlinux-3ccec53c294cbec2af44b6b24f70349637c45428.tar.xz
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>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/drm/amdgpu_drm.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h
index c90f4f0d059e..780a5815fb12 100644
--- a/include/uapi/drm/amdgpu_drm.h
+++ b/include/uapi/drm/amdgpu_drm.h
@@ -378,11 +378,7 @@ union drm_amdgpu_cs {
#define AMDGPU_IB_FLAG_PREAMBLE (1<<2)
struct drm_amdgpu_cs_chunk_ib {
- /**
- * Handle of GEM object to be used as IB or 0 if it is already in
- * residency list.
- */
- uint32_t handle;
+ uint32_t _pad;
uint32_t flags; /* IB Flags */
uint64_t va_start; /* Virtual address to begin IB execution */
uint32_t ib_bytes; /* Size of submission */