summaryrefslogtreecommitdiff
path: root/include/drm/drm_timeout.h
blob: 6ee222a3e97ca449bb29eea78b02cc3a7c5542c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* SPDX-License-Identifier: MIT */
/*
 * Function prototypes for timeout conversion helpers for wait ioctls.
 *
 * Copyright 2017 Red Hat
 * Copyright 2016 Advanced Micro Devices, Inc.
 */

#ifndef __DRM_TIMEOUT_H__
#define __DRM_TIMEOUT_H__

#include <linux/types.h>

signed long drm_timeout_abs_to_jiffies(s64 timeout_nsec);
unsigned long drm_timeout_rel_to_jiffies(u64 timeout_nsec);

#endif