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 | /* Preamble flag, which means the IB could be dropped if no context switch */ | 448 | /* Preamble flag, which means the IB could be dropped if no context switch */ |
| 449 | #define AMDGPU_IB_FLAG_PREAMBLE (1<<1) | 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 | struct drm_amdgpu_cs_chunk_ib { | 454 | struct drm_amdgpu_cs_chunk_ib { |
| 452 | __u32 _pad; | 455 | __u32 _pad; |
| 453 | /** AMDGPU_IB_FLAG_* */ | 456 | /** AMDGPU_IB_FLAG_* */ |