18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci/* Copyright (c) 2018 The Linux Foundation. All rights reserved. */
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_ci#ifndef __A2XX_GPU_H__
58c2ecf20Sopenharmony_ci#define __A2XX_GPU_H__
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci#include "adreno_gpu.h"
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci/* arrg, somehow fb.h is getting pulled in: */
108c2ecf20Sopenharmony_ci#undef ROP_COPY
118c2ecf20Sopenharmony_ci#undef ROP_XOR
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci#include "a2xx.xml.h"
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_cistruct a2xx_gpu {
168c2ecf20Sopenharmony_ci	struct adreno_gpu base;
178c2ecf20Sopenharmony_ci	bool pm_enabled;
188c2ecf20Sopenharmony_ci};
198c2ecf20Sopenharmony_ci#define to_a2xx_gpu(x) container_of(x, struct a2xx_gpu, base)
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ci#endif /* __A2XX_GPU_H__ */
22