sequence is protected by spinlock so don't access sequence in paramter seq when invoking this function. ~0 means to get the latest sequence number and 0 means none to get.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -295,7 +295,10 @@ union drm_amdgpu_gem_wait_idle { · 294 unmodified lines | |||
| 295 | }; | 295 | }; |
| 296 | 296 | ||
| 297 | struct drm_amdgpu_wait_cs_in { | 297 | struct drm_amdgpu_wait_cs_in { |
| 298 | /** Command submission handle */ | 298 | /* Command submission handle |
| 299 | * handle equals 0 means none to wait for | ||
| 300 | * handle equal ~0ull meanas wait for the latest sequence number | ||
| 301 | */ | ||
| 299 | __u64 handle; | 302 | __u64 handle; |
| 300 | /** Absolute timeout to wait */ | 303 | /** Absolute timeout to wait */ |
| 301 | __u64 timeout; | 304 | __u64 timeout; |