File Index
Files and directories
Sign in
FILE

i915_gem_clflush.h

File preview with syntax highlighting.

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