mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
The i915_fence_context_timeout() and i915_fence_timeout() functions both have the struct drm_i915_private parameter, which is unused. It's likely in preparation for something that just didn't end up happening. Remove them, dropping the last struct drm_i915_private usage for xe display build. Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Link: https://patch.msgid.link/dce86cb031d523a95a96ed2bf9c93bb28e6b20ab.1767009044.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
20 lines
377 B
C
20 lines
377 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>
|
|
|
|
unsigned long i915_fence_context_timeout(u64 context);
|
|
|
|
static inline unsigned long i915_fence_timeout(void)
|
|
{
|
|
return i915_fence_context_timeout(U64_MAX);
|
|
}
|
|
|
|
#endif /* __I915_CONFIG_H__ */
|