#include <drm/drm_cache.h>
#include "i915_config.h"
#include "i915_drv.h"
#include "i915_gem_clflush.h"
#include "i915_gem_object_frontbuffer.h"
#include "i915_sw_fence_work.h"
#include "i915_trace.h"
struct clflush { … };
static void __do_clflush(struct drm_i915_gem_object *obj)
{ … }
static void clflush_work(struct dma_fence_work *base)
{ … }
static void clflush_release(struct dma_fence_work *base)
{ … }
static const struct dma_fence_work_ops clflush_ops = …;
static struct clflush *clflush_work_create(struct drm_i915_gem_object *obj)
{ … }
bool i915_gem_clflush_object(struct drm_i915_gem_object *obj,
unsigned int flags)
{ … }