commit | 14dba7178491e2bc411dc2e4542295709c1fb9e6 | [log] [tgz] |
---|---|---|
author | Thomas Hellstrom <thellstrom@vmware.com> | Wed Jun 20 11:51:02 2018 +0200 |
committer | Thomas Hellstrom <thellstrom@vmware.com> | Tue Jul 03 20:40:48 2018 +0200 |
tree | b389fa88db41986e6b1d5492997e68a92490c19e | |
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>