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 11 unsigned long i915_fence_context_timeout(u64 context) 12 { 13 if (CONFIG_DRM_I915_FENCE_TIMEOUT && context) 14 return msecs_to_jiffies_timeout(CONFIG_DRM_I915_FENCE_TIMEOUT); 15 16 return 0; 17 } 18