1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2022 Intel Corporation
4  */
5 
6 #ifndef __I915_GEM_TILING_H__
7 #define __I915_GEM_TILING_H__
8 
9 #include <linux/types.h>
10 
11 struct drm_i915_private;
12 
13 u32 i915_gem_fence_size(struct drm_i915_private *i915, u32 size,
14 			unsigned int tiling, unsigned int stride);
15 u32 i915_gem_fence_alignment(struct drm_i915_private *i915, u32 size,
16 			     unsigned int tiling, unsigned int stride);
17 
18 #endif /* __I915_GEM_TILING_H__ */
19