pvr: Remove two unused function
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40595>
This commit is contained in:
Yonggang Luo 2026-03-24 14:00:29 +08:00 committed by Marge Bot
parent d067d6e163
commit 76eae60b07

View file

@ -101,26 +101,6 @@ static VkResult pvr_srv_sync_reset(struct vk_device *device,
return VK_SUCCESS;
}
/* Careful, timeout might overflow. */
static inline void pvr_start_timeout(struct timespec *timeout,
uint64_t timeout_ns)
{
clock_gettime(CLOCK_MONOTONIC, timeout);
timespec_add_nsec(timeout, timeout, timeout_ns);
}
/* Careful, a negative value might be returned. */
static inline struct timespec
pvr_get_remaining_time(const struct timespec *timeout)
{
struct timespec time;
clock_gettime(CLOCK_MONOTONIC, &time);
timespec_sub(&time, timeout, &time);
return time;
}
static inline int pvr_get_relative_time_ms(uint64_t abs_timeout_ns)
{
uint64_t cur_time_ms;