a4xx_gpu.h 487 B

1234567891011121314151617181920212223
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /* Copyright (c) 2014 The Linux Foundation. All rights reserved.
  3. */
  4. #ifndef __A4XX_GPU_H__
  5. #define __A4XX_GPU_H__
  6. #include "adreno_gpu.h"
  7. /* arrg, somehow fb.h is getting pulled in: */
  8. #undef ROP_COPY
  9. #undef ROP_XOR
  10. #include "a4xx.xml.h"
  11. struct a4xx_gpu {
  12. struct adreno_gpu base;
  13. /* if OCMEM is used for GMEM: */
  14. struct adreno_ocmem ocmem;
  15. };
  16. #define to_a4xx_gpu(x) container_of(x, struct a4xx_gpu, base)
  17. #endif /* __A4XX_GPU_H__ */