WIP FPC-III support
[linux/fpc-iii.git] / drivers / gpu / drm / i915 / i915_config.c
blobb79b5f6d2cfa3b1d44bb23465b3155600551409e
1 // SPDX-License-Identifier: MIT
2 /*
3 * Copyright © 2020 Intel Corporation
4 */
6 #include "i915_drv.h"
8 unsigned long
9 i915_fence_context_timeout(const struct drm_i915_private *i915, u64 context)
11 if (context && IS_ACTIVE(CONFIG_DRM_I915_FENCE_TIMEOUT))
12 return msecs_to_jiffies_timeout(CONFIG_DRM_I915_FENCE_TIMEOUT);
14 return 0;