i915_config.c 322 B

123456789101112131415
  1. // SPDX-License-Identifier: MIT
  2. /*
  3. * Copyright © 2020 Intel Corporation
  4. */
  5. #include "i915_drv.h"
  6. unsigned long
  7. i915_fence_context_timeout(const struct drm_i915_private *i915, u64 context)
  8. {
  9. if (CONFIG_DRM_I915_FENCE_TIMEOUT && context)
  10. return msecs_to_jiffies_timeout(CONFIG_DRM_I915_FENCE_TIMEOUT);
  11. return 0;
  12. }