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_mman.h (771B)


      1/*
      2 * SPDX-License-Identifier: MIT
      3 *
      4 * Copyright © 2019 Intel Corporation
      5 */
      6
      7#ifndef __I915_GEM_MMAN_H__
      8#define __I915_GEM_MMAN_H__
      9
     10#include <linux/mm_types.h>
     11#include <linux/types.h>
     12
     13struct drm_device;
     14struct drm_file;
     15struct drm_i915_gem_object;
     16struct file;
     17struct i915_mmap_offset;
     18struct mutex;
     19
     20int i915_gem_mmap_gtt_version(void);
     21int i915_gem_mmap(struct file *filp, struct vm_area_struct *vma);
     22
     23int i915_gem_dumb_mmap_offset(struct drm_file *file_priv,
     24			      struct drm_device *dev,
     25			      u32 handle, u64 *offset);
     26
     27void __i915_gem_object_release_mmap_gtt(struct drm_i915_gem_object *obj);
     28void i915_gem_object_release_mmap_gtt(struct drm_i915_gem_object *obj);
     29
     30void i915_gem_object_release_mmap_offset(struct drm_i915_gem_object *obj);
     31
     32#endif