mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
drm/amdgpu: add CE preamble flag v3
The CE preamble IB can be dropped for the same context v2: use the flags directly v3: remove 'CE' for potential preamble usage by other rings Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
This commit is contained in:
parent
de807f818b
commit
aa2bdb2476
3 changed files with 17 additions and 0 deletions
|
|
@ -369,6 +369,9 @@ union drm_amdgpu_cs {
|
|||
/* GDS is used by this IB */
|
||||
#define AMDGPU_IB_FLAG_GDS (1<<1)
|
||||
|
||||
/* CE Preamble */
|
||||
#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
|
||||
|
|
|
|||
Loading…
Reference in a new issue