when MCBP supported, we will set pre_enb bit for those IBs with PREEMPT flag tagged
Unified · Split
| @@ -448,6 +448,9 @@ union drm_amdgpu_cs { · 447 unmodified lines | ||
| 448 | 448 | /* Preamble flag, which means the IB could be dropped if no context switch */ |
| 449 | 449 | #define AMDGPU_IB_FLAG_PREAMBLE (1<<1) |
| 450 | 450 | |
| 451 | +/* Preempt flag, IB should set Pre_enb bit if PREEMPT flag detected */ | |
| 452 | +#define AMDGPU_IB_FLAG_PREEMPT (1<<2) | |
| 453 | + | |
| 451 | 454 | struct drm_amdgpu_cs_chunk_ib { |
| 452 | 455 | __u32 _pad; |
| 453 | 456 | /** AMDGPU_IB_FLAG_* */ |