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_gem_tiling.h (566B)


      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
     11struct drm_i915_gem_object;
     12struct drm_i915_private;
     13
     14bool i915_gem_object_needs_bit17_swizzle(struct drm_i915_gem_object *obj);
     15u32 i915_gem_fence_size(struct drm_i915_private *i915, u32 size,
     16			unsigned int tiling, unsigned int stride);
     17u32 i915_gem_fence_alignment(struct drm_i915_private *i915, u32 size,
     18			     unsigned int tiling, unsigned int stride);
     19
     20#endif /* __I915_GEM_TILING_H__ */