We already have i915_config.c. Add the i915_config.h counterpart, and declutter i915_drv.h in the process. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Acked-by: Nirmoy Das <nirmoy.das@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230118131538.3558599-1-jani.nikula@intel.com
24 lines
483 B
C
24 lines
483 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2023 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __I915_CONFIG_H__
|
|
#define __I915_CONFIG_H__
|
|
|
|
#include <linux/types.h>
|
|
#include <linux/limits.h>
|
|
|
|
struct drm_i915_private;
|
|
|
|
unsigned long i915_fence_context_timeout(const struct drm_i915_private *i915,
|
|
u64 context);
|
|
|
|
static inline unsigned long
|
|
i915_fence_timeout(const struct drm_i915_private *i915)
|
|
{
|
|
return i915_fence_context_timeout(i915, U64_MAX);
|
|
}
|
|
|
|
#endif /* __I915_CONFIG_H__ */
|