diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2018-06-20 11:51:02 +0200 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2018-07-03 20:40:48 +0200 |
commit | 14dba7178491e2bc411dc2e4542295709c1fb9e6 (patch) | |
tree | b389fa88db41986e6b1d5492997e68a92490c19e /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | 3fbeccf8ceb1651b376a14bfe1005d518a4d8fa0 (diff) |
drm/vmwgfx: Reorganize the fence wait loop
Reorganize the fence wait loop somewhat to make it look more like the
examples in set_current_state() kerneldoc, and add some code comments.
Also if we're about to time out, make sure we check again whether the fence
is actually signaled.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Deepak Rawat <drawat@vmware.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions