diff options
author | Marek Olšák <marek.olsak@amd.com> | 2015-06-02 17:44:49 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-06-03 21:04:05 -0400 |
commit | 3ccec53c294cbec2af44b6b24f70349637c45428 (patch) | |
tree | 4b0c5446527b15d670c23ce3b52c6a2f76d94c2f /include/uapi/drm/amdgpu_drm.h | |
parent | 81c59f54125f9ff84546b6ba26c321662562703d (diff) | |
download | op-kernel-dev-3ccec53c294cbec2af44b6b24f70349637c45428.zip op-kernel-dev-3ccec53c294cbec2af44b6b24f70349637c45428.tar.gz |
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/uapi/drm/amdgpu_drm.h')
-rw-r--r-- | include/uapi/drm/amdgpu_drm.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h index c90f4f0..780a581 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 */ |