History

uapi/drm:add new flag for Preemption

when MCBP supported, we will set pre_enb bit for those IBs with PREEMPT flag tagged

Monk Liu committed 9 years ago

Commit 71aec251 parent ed834af1 file · +3 −0Browse files

Unified · Split

include/uapi/drm/amdgpu_drm.h+3−0
@@ -448,6 +448,9 @@ union drm_amdgpu_cs { · 447 unmodified lines
448448 /* Preamble flag, which means the IB could be dropped if no context switch */
449449 #define AMDGPU_IB_FLAG_PREAMBLE (1<<1)
450450
451+/* Preempt flag, IB should set Pre_enb bit if PREEMPT flag detected */
452+#define AMDGPU_IB_FLAG_PREEMPT (1<<2)
453+
451454 struct drm_amdgpu_cs_chunk_ib {
452455 __u32 _pad;
453456 /** AMDGPU_IB_FLAG_* */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t