#include "a2xx_gpu.h"
#include "msm_gem.h"
#include "msm_mmu.h"
extern bool hang_debug;
static void a2xx_dump(struct msm_gpu *gpu);
static bool a2xx_idle(struct msm_gpu *gpu);
static void a2xx_submit(struct msm_gpu *gpu, struct msm_gem_submit *submit)
{ … }
static bool a2xx_me_init(struct msm_gpu *gpu)
{ … }
static int a2xx_hw_init(struct msm_gpu *gpu)
{ … }
static void a2xx_recover(struct msm_gpu *gpu)
{ … }
static void a2xx_destroy(struct msm_gpu *gpu)
{ … }
static bool a2xx_idle(struct msm_gpu *gpu)
{ … }
static irqreturn_t a2xx_irq(struct msm_gpu *gpu)
{ … }
static const unsigned int a200_registers[] = …;
static const unsigned int a220_registers[] = …;
static const unsigned int a225_registers[] = …;
static void a2xx_dump(struct msm_gpu *gpu)
{ … }
static struct msm_gpu_state *a2xx_gpu_state_get(struct msm_gpu *gpu)
{ … }
static struct msm_gem_address_space *
a2xx_create_address_space(struct msm_gpu *gpu, struct platform_device *pdev)
{ … }
static u32 a2xx_get_rptr(struct msm_gpu *gpu, struct msm_ringbuffer *ring)
{ … }
static const struct adreno_gpu_funcs funcs = …;
static const struct msm_gpu_perfcntr perfcntrs[] = …;
struct msm_gpu *a2xx_gpu_init(struct drm_device *dev)
{ … }