iris: Fix large timeout handling in rel2abs()
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 22 Aug 2019 23:08:16 +0000 (16:08 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 23 Aug 2019 17:32:01 +0000 (10:32 -0700)
commit7ee7b0ecbc0de098cba631b2ca0b3291c3817665
tree976db2f7cde5e815e45167cc16a118242e0c4347
parent9310ae6f689da1d2872accdcbb73498394e38798
iris: Fix large timeout handling in rel2abs()

...by copying the implementation of anv_get_absolute_timeout().

Appears to fix a CTS test with 32-bit builds:
GTF-GL46.gtf32.GL3Tests.sync.sync_functionality_clientwaitsync_flush

Fixes: f459c56be6b ("iris: Add fence support using drm_syncobj")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
src/gallium/drivers/iris/iris_fence.c