Merge tag 'io_uring-5.11-2021-01-16' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / gpu / drm / i915 / gem / i915_gem_clflush.h
blobe6c382973129597541082f575c54fd6baebf75ea
1 /*
2 * SPDX-License-Identifier: MIT
4 * Copyright © 2016 Intel Corporation
5 */
7 #ifndef __I915_GEM_CLFLUSH_H__
8 #define __I915_GEM_CLFLUSH_H__
10 #include <linux/types.h>
12 struct drm_i915_private;
13 struct drm_i915_gem_object;
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)
20 #endif /* __I915_GEM_CLFLUSH_H__ */