linux/drivers/gpu/drm/i915/gem/i915_gem_busy.c

/*
 * SPDX-License-Identifier: MIT
 *
 * Copyright © 2014-2016 Intel Corporation
 */

#include <linux/dma-fence-array.h>

#include "gt/intel_engine.h"

#include "i915_gem_ioctls.h"
#include "i915_gem_object.h"

static __always_inline u32 __busy_read_flag(u16 id)
{}

static __always_inline u32 __busy_write_id(u16 id)
{}

static __always_inline unsigned int
__busy_set_if_active(struct dma_fence *fence, u32 (*flag)(u16 id))
{}

static __always_inline unsigned int
busy_check_reader(struct dma_fence *fence)
{}

static __always_inline unsigned int
busy_check_writer(struct dma_fence *fence)
{}

int
i915_gem_busy_ioctl(struct drm_device *dev, void *data,
		    struct drm_file *file)
{}