commit | ef980ac0c1cd65993ba0c1d20e1c09b45bfef99d | [log] [tgz] |
---|---|---|
author | Qiang Yu <yuq825@gmail.com> | Thu Sep 10 10:08:41 2020 +0800 |
committer | Marge Bot <eric+marge@anholt.net> | Fri Sep 11 12:47:27 2020 +0000 |
tree | dcc4414d898b5c3ecb7ee303526b226a95dc46c5 | |
parent | 3182209673fcf157efa7872036e67fae2a5e84ba [diff] |
radeonsi: fix max syncobj wait timeout syncobj wait takes int64_t timeout and won't clamp it in kernel code, so we have to pass in INT64_MAX instead of OS_TIMEOUT_INFINITE which is UINT64_MAX. Otherwise syncobj wait with OS_TIMEOUT_INFINITE case just return fail. Fixes: c638301b42b "radeonsi: fix syncobj wait timeout" Reviewed-by: Marek Olšák <marek.olsak@amd.com> Signed-off-by: Qiang Yu <yuq825@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6676>