I'm not increasing the DRM version because GDS isn't totally without bugs yet. v2: update emit_ib_size
Showing the changes to include/uapi (1 of 6 files). Show all
Unified · Split
| @@ -566,6 +566,11 @@ union drm_amdgpu_cs { · 565 unmodified lines | ||
| 566 | 566 | * caches (L2/vL1/sL1/I$). */ |
| 567 | 567 | #define AMDGPU_IB_FLAG_TC_WB_NOT_INVALIDATE (1 << 3) |
| 568 | 568 | |
| 569 | +/* Set GDS_COMPUTE_MAX_WAVE_ID = DEFAULT before PACKET3_INDIRECT_BUFFER. | |
| 570 | + * This will reset wave ID counters for the IB. | |
| 571 | + */ | |
| 572 | +#define AMDGPU_IB_FLAG_RESET_GDS_MAX_WAVE_ID (1 << 4) | |
| 573 | + | |
| 569 | 574 | struct drm_amdgpu_cs_chunk_ib { |
| 570 | 575 | __u32 _pad; |
| 571 | 576 | /** AMDGPU_IB_FLAG_* */ |