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.
Showing the changes to include/uapi (1 of 3 files). Show all
Unified · Split
| @@ -523,6 +523,7 @@ struct drm_amdgpu_gem_va { · 522 unmodified lines | |||
| 523 | #define AMDGPU_CHUNK_ID_SYNCOBJ_IN 0x04 | 523 | #define AMDGPU_CHUNK_ID_SYNCOBJ_IN 0x04 |
| 524 | #define AMDGPU_CHUNK_ID_SYNCOBJ_OUT 0x05 | 524 | #define AMDGPU_CHUNK_ID_SYNCOBJ_OUT 0x05 |
| 525 | #define AMDGPU_CHUNK_ID_BO_HANDLES 0x06 | 525 | #define AMDGPU_CHUNK_ID_BO_HANDLES 0x06 |
| 526 | #define AMDGPU_CHUNK_ID_SCHEDULED_DEPENDENCIES 0x07 | ||
| 526 | 527 | ||
| 527 | struct drm_amdgpu_cs_chunk { | 528 | struct drm_amdgpu_cs_chunk { |
| 528 | __u32 chunk_id; | 529 | __u32 chunk_id; |