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 
12 struct drm_i915_private;
13 struct drm_i915_gem_object;
14 
15 bool 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__ */
21