File Index
Files and directories
Sign in
FILE

i915_config.c

File preview with syntax highlighting.

linux-6.19.14/drivers/gpu/drm/i915/i915_config.c C
 1// SPDX-License-Identifier: MIT
 2/*
 3 * Copyright © 2020 Intel Corporation
 4 */
 5
 6#include <linux/kernel.h>
 7
 8#include "i915_config.h"
 9#include "i915_jiffies.h"
10
11unsigned long
12i915_fence_context_timeout(const struct drm_i915_private *i915, u64 context)
13{
14	if (CONFIG_DRM_I915_FENCE_TIMEOUT && context)
15		return msecs_to_jiffies_timeout(CONFIG_DRM_I915_FENCE_TIMEOUT);
16
17	return 0;
18}
~/ Read-only file preview.