History

drm/amdgpu:fix race condition

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.

Monk Liu committed 9 years ago

Commit d7b1eeb1 parent 5e788352 files · +7 −1Browse files

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

Unified · Split

include/uapi/drm/amdgpu_drm.h+4−1
@@ -295,7 +295,10 @@ union drm_amdgpu_gem_wait_idle { · 294 unmodified lines
295};295};
296 296
297struct drm_amdgpu_wait_cs_in {297struct 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;

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