cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

i915_config.c (322B)


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