#include "adreno_gpu.h"
bool hang_debug = …;
MODULE_PARM_DESC(…) …;
module_param_named(hang_debug, hang_debug, bool, 0600);
bool snapshot_debugbus = …;
MODULE_PARM_DESC(…) …;
module_param_named(snapshot_debugbus, snapshot_debugbus, bool, 0600);
bool allow_vram_carveout = …;
MODULE_PARM_DESC(…) …;
module_param_named(allow_vram_carveout, allow_vram_carveout, bool, 0600);
extern const struct adreno_gpulist a2xx_gpulist;
extern const struct adreno_gpulist a3xx_gpulist;
extern const struct adreno_gpulist a4xx_gpulist;
extern const struct adreno_gpulist a5xx_gpulist;
extern const struct adreno_gpulist a6xx_gpulist;
extern const struct adreno_gpulist a7xx_gpulist;
static const struct adreno_gpulist *gpulists[] = …;
static const struct adreno_info *adreno_info(uint32_t chip_id)
{ … }
struct msm_gpu *adreno_load_gpu(struct drm_device *dev)
{ … }
static int find_chipid(struct device *dev, uint32_t *chipid)
{ … }
static int adreno_bind(struct device *dev, struct device *master, void *data)
{ … }
static int adreno_system_suspend(struct device *dev);
static void adreno_unbind(struct device *dev, struct device *master,
void *data)
{ … }
static const struct component_ops a3xx_ops = …;
static void adreno_device_register_headless(void)
{ … }
static int adreno_probe(struct platform_device *pdev)
{ … }
static void adreno_remove(struct platform_device *pdev)
{ … }
static void adreno_shutdown(struct platform_device *pdev)
{ … }
static const struct of_device_id dt_match[] = …;
static int adreno_runtime_resume(struct device *dev)
{ … }
static int adreno_runtime_suspend(struct device *dev)
{ … }
static void suspend_scheduler(struct msm_gpu *gpu)
{ … }
static void resume_scheduler(struct msm_gpu *gpu)
{ … }
static int adreno_system_suspend(struct device *dev)
{ … }
static int adreno_system_resume(struct device *dev)
{ … }
static const struct dev_pm_ops adreno_pm_ops = …;
static struct platform_driver adreno_driver = …;
void __init adreno_register(void)
{ … }
void __exit adreno_unregister(void)
{ … }