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

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/drm/amdgpu_drm.h+3−0
@@ -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
451struct drm_amdgpu_cs_chunk_ib {454struct drm_amdgpu_cs_chunk_ib {
452 __u32 _pad;455 __u32 _pad;
453 /** AMDGPU_IB_FLAG_* */456 /** 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