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