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_clflush.h (420B)


      1/*
      2 * SPDX-License-Identifier: MIT
      3 *
      4 * Copyright © 2016 Intel Corporation
      5 */
      6
      7#ifndef __I915_GEM_CLFLUSH_H__
      8#define __I915_GEM_CLFLUSH_H__
      9
     10#include <linux/types.h>
     11
     12struct drm_i915_private;
     13struct drm_i915_gem_object;
     14
     15bool i915_gem_clflush_object(struct drm_i915_gem_object *obj,
     16			     unsigned int flags);
     17#define I915_CLFLUSH_FORCE BIT(0)
     18#define I915_CLFLUSH_SYNC BIT(1)
     19
     20#endif /* __I915_GEM_CLFLUSH_H__ */