1 // SPDX-License-Identifier: MIT
3 * Copyright © 2020 Intel Corporation
6 #include <linux/kernel.h>
8 #include "i915_config.h"
9 #include "i915_utils.h"
12 i915_fence_context_timeout(const struct drm_i915_private *i915, u64 context)
14 if (CONFIG_DRM_I915_FENCE_TIMEOUT && context)
15 return msecs_to_jiffies_timeout(CONFIG_DRM_I915_FENCE_TIMEOUT);