#include "gem/i915_gem_internal.h"
#include "gem/i915_gem_lmem.h"
#include "gem/i915_gem_object.h"
#include "i915_drv.h"
#include "i915_vma.h"
#include "intel_engine.h"
#include "intel_engine_regs.h"
#include "intel_gpu_commands.h"
#include "intel_ring.h"
#include "intel_gt.h"
#include "intel_timeline.h"
unsigned int intel_ring_update_space(struct intel_ring *ring)
{ … }
void __intel_ring_pin(struct intel_ring *ring)
{ … }
int intel_ring_pin(struct intel_ring *ring, struct i915_gem_ww_ctx *ww)
{ … }
void intel_ring_reset(struct intel_ring *ring, u32 tail)
{ … }
void intel_ring_unpin(struct intel_ring *ring)
{ … }
static struct i915_vma *create_ring_vma(struct i915_ggtt *ggtt, int size)
{ … }
struct intel_ring *
intel_engine_create_ring(struct intel_engine_cs *engine, int size)
{ … }
void intel_ring_free(struct kref *ref)
{ … }
static noinline int
wait_for_space(struct intel_ring *ring,
struct intel_timeline *tl,
unsigned int bytes)
{ … }
u32 *intel_ring_begin(struct i915_request *rq, unsigned int num_dwords)
{ … }
int intel_ring_cacheline_align(struct i915_request *rq)
{ … }
#if IS_ENABLED(CONFIG_DRM_I915_SELFTEST)
#include "selftest_ring.c"
#endif