return (const char *)fence->ring->name;
}
-static inline bool amdgpu_test_signaled(struct amdgpu_fence *fence)
-{
- return test_bit(FENCE_FLAG_SIGNALED_BIT, &fence->base.flags);
-}
-
static bool amdgpu_test_signaled_any(struct fence **fences, uint32_t count)
{
int idx;
wake_up_process(wait->task);
}
-static signed long amdgpu_fence_default_wait(struct fence *f, bool intr,
- signed long t)
-{
- return amdgpu_fence_wait_any(&f, 1, intr, t);
-}
-
/**
* Wait the fence array with timeout
*
.get_timeline_name = amdgpu_fence_get_timeline_name,
.enable_signaling = amdgpu_fence_enable_signaling,
.signaled = amdgpu_fence_is_signaled,
- .wait = amdgpu_fence_default_wait,
+ .wait = fence_default_wait,
.release = NULL,
};