#ifndef __MSM_RINGBUFFER_H__
#define __MSM_RINGBUFFER_H__
#include "drm/gpu_scheduler.h"
#include "msm_drv.h"
#define rbmemptr(ring, member) …
#define rbmemptr_stats(ring, index, member) …
struct msm_gpu_submit_stats { … };
#define MSM_GPU_SUBMIT_STATS_COUNT …
struct msm_rbmemptrs { … };
struct msm_cp_state { … };
struct msm_ringbuffer { … };
struct msm_ringbuffer *msm_ringbuffer_new(struct msm_gpu *gpu, int id,
void *memptrs, uint64_t memptrs_iova);
void msm_ringbuffer_destroy(struct msm_ringbuffer *ring);
static inline void
OUT_RING(struct msm_ringbuffer *ring, uint32_t data)
{ … }
#endif