mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-05 06:38:03 +02:00
ttm: fix drm_fence_wait_polling timeout value
This commit is contained in:
parent
bbd5e64216
commit
91a86bdc12
1 changed files with 1 additions and 1 deletions
|
|
@ -369,7 +369,7 @@ int drm_fence_object_wait(struct drm_fence_object *fence,
|
|||
struct drm_fence_manager *fm = &dev->fm;
|
||||
struct drm_fence_class_manager *fc = &fm->fence_class[fence->fence_class];
|
||||
int ret = 0;
|
||||
unsigned long _end = 3 * DRM_HZ;
|
||||
unsigned long _end = jiffies + (3 * DRM_HZ);
|
||||
|
||||
if (mask & ~fence->type) {
|
||||
DRM_ERROR("Wait trying to extend fence type"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue