xref: /openbmc/linux/drivers/gpu/drm/i915/i915_config.h (revision 017cdefe)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2023 Intel Corporation
4  */
5 
6 #ifndef __I915_CONFIG_H__
7 #define __I915_CONFIG_H__
8 
9 #include <linux/types.h>
10 #include <linux/limits.h>
11 
12 struct drm_i915_private;
13 
14 unsigned long i915_fence_context_timeout(const struct drm_i915_private *i915,
15 					 u64 context);
16 
17 static inline unsigned long
18 i915_fence_timeout(const struct drm_i915_private *i915)
19 {
20 	return i915_fence_context_timeout(i915, U64_MAX);
21 }
22 
23 #endif /* __I915_CONFIG_H__ */
24