amdgpu:update IB flags with PREEMPT
PATCH 1/1 amdgpu:update IB flags with PREEMPT
PREEMPT flag is used for MCBP
Change-Id I2ddf00000f3912c219663e80680f76d671c7856e
Signed-off-by Monk Liu <[email protected]>
--- include/drm/amdgpu_drm.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
include/drm/amdgpu_drm.h +4 -1
@@ -409,9 +409,12 @@ union drm_amdgpu_cs {/* This IB should be submitted to CE */ #define AMDGPU_IB_FLAG_CE (1<<0) -/* CE Preamble */ +/* Preamble */ #define AMDGPU_IB_FLAG_PREAMBLE (1<<1) +/* Preemptible */ +#define AMDGPU_IB_FLAG_PREEMPT (1<<2) +struct drm_amdgpu_cs_chunk_ib {uint32_t _pad;/** AMDGPU_IB_FLAG_* */
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx