repo: https://github.com/T-head-Semi/linux commit: b1313fe517ca3703119dcc99ef3bbf75ab42bcfb Change-Id: I6cbb35294024ea3a66140e311f4bb705fd7fd626
16 lines
333 B
C
16 lines
333 B
C
// 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;
|
|
}
|