xref: /kernel/linux/linux-5.10/drivers/gpu/drm/i915/i915_config.c
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/drivers/gpu/drm/i915/
18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: MIT
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright © 2020 Intel Corporation
48c2ecf20Sopenharmony_ci */
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ci#include "i915_drv.h"
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ciunsigned long
98c2ecf20Sopenharmony_cii915_fence_context_timeout(const struct drm_i915_private *i915, u64 context)
108c2ecf20Sopenharmony_ci{
118c2ecf20Sopenharmony_ci	if (context && IS_ACTIVE(CONFIG_DRM_I915_FENCE_TIMEOUT))
128c2ecf20Sopenharmony_ci		return msecs_to_jiffies_timeout(CONFIG_DRM_I915_FENCE_TIMEOUT);
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci	return 0;
158c2ecf20Sopenharmony_ci}
16

Indexes created Thu Nov 07 10:32:03 CST 2024