#include "msm_gem.h"
#include "a5xx_gpu.h"
static inline bool try_preempt_state(struct a5xx_gpu *a5xx_gpu,
enum preempt_state old, enum preempt_state new)
{ … }
static inline void set_preempt_state(struct a5xx_gpu *gpu,
enum preempt_state new)
{ … }
static inline void update_wptr(struct msm_gpu *gpu, struct msm_ringbuffer *ring)
{ … }
static struct msm_ringbuffer *get_next_ring(struct msm_gpu *gpu)
{ … }
static void a5xx_preempt_timer(struct timer_list *t)
{ … }
void a5xx_preempt_trigger(struct msm_gpu *gpu)
{ … }
void a5xx_preempt_irq(struct msm_gpu *gpu)
{ … }
void a5xx_preempt_hw_init(struct msm_gpu *gpu)
{ … }
static int preempt_init_ring(struct a5xx_gpu *a5xx_gpu,
struct msm_ringbuffer *ring)
{ … }
void a5xx_preempt_fini(struct msm_gpu *gpu)
{ … }
void a5xx_preempt_init(struct msm_gpu *gpu)
{ … }