History

drm/amdgpu: Add AMDGPU_CHUNK_ID_SCHEDULED_DEPENDENCIES

New chunk for dependency on start of job's execution instead on the end. This is used for GPU deadlock prevention when userspace uses mid-IB fences to wait for mid-IB work on other rings. v2: Fix typo in AMDGPU_CHUNK_ID_SCHEDULED_DEPENDENCIES v3: Bump KMS version v4: put old fence AFTER acquiring the scheduled fence.

Andrey Grodzovsky committed 7 years ago

Commit 67dd1a31 parent 373e87f3 files · +15 −2Browse files

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

Unified · Split

include/uapi/drm/amdgpu_drm.h+1−0
@@ -523,6 +523,7 @@ struct drm_amdgpu_gem_va { · 522 unmodified lines
523#define AMDGPU_CHUNK_ID_SYNCOBJ_IN 0x04523#define AMDGPU_CHUNK_ID_SYNCOBJ_IN 0x04
524#define AMDGPU_CHUNK_ID_SYNCOBJ_OUT 0x05524#define AMDGPU_CHUNK_ID_SYNCOBJ_OUT 0x05
525#define AMDGPU_CHUNK_ID_BO_HANDLES 0x06525#define AMDGPU_CHUNK_ID_BO_HANDLES 0x06
526#define AMDGPU_CHUNK_ID_SCHEDULED_DEPENDENCIES 0x07
526 527
527struct drm_amdgpu_cs_chunk {528struct drm_amdgpu_cs_chunk {
528 __u32 chunk_id;529 __u32 chunk_id;

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