forked from ~ljy/RK356X_SDK_RELEASE

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