mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
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>
This commit is contained in:
parent
81c59f5412
commit
3ccec53c29
3 changed files with 25 additions and 77 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue