diff options
author | Vasily Khoruzhick <[email protected]> | 2019-09-07 19:30:39 -0700 |
---|---|---|
committer | Vasily Khoruzhick <[email protected]> | 2019-09-22 19:20:59 -0700 |
commit | 9f897a2b4cf2c0e222487470053a69de843f2084 (patch) | |
tree | e4d482d2e461d4d92432d3968cf7f2d68c26d50e /src/gallium/drivers/lima/standalone/lima_compiler_cmdline.c | |
parent | 7f7ac21088603aa1ab70119bba3fd97317435276 (diff) |
lima: use 0 to poll if BO is busy in lima_bo_wait()
os_time_get_absolute_timeout(0) returns current time, while kernel
driver expects 0 as value to poll BO status and return immediately.
Fix it by setting abs_timeout to 0 if timeout_ns is 0
Reviewed-by: Qiang Yu <[email protected]>
Signed-off-by: Vasily Khoruzhick <[email protected]>
Diffstat (limited to 'src/gallium/drivers/lima/standalone/lima_compiler_cmdline.c')
0 files changed, 0 insertions, 0 deletions