mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 02:37:15 +07:00
21af872cd8
derived from the a3xx driver and tested on the following hardware: imx51-zii-rdu1 (a200 with 128kb gmem) imx53-qsrb (a200) msm8060-tenderloin (a220) Signed-off-by: Jonathan Marek <jonathan@marek.ca> Reviewed-by: Jordan Crouse <jcrouse@codeaurora.org> Signed-off-by: Rob Clark <robdclark@gmail.com>
22 lines
434 B
C
22 lines
434 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
/* Copyright (c) 2018 The Linux Foundation. All rights reserved. */
|
|
|
|
#ifndef __A2XX_GPU_H__
|
|
#define __A2XX_GPU_H__
|
|
|
|
#include "adreno_gpu.h"
|
|
|
|
/* arrg, somehow fb.h is getting pulled in: */
|
|
#undef ROP_COPY
|
|
#undef ROP_XOR
|
|
|
|
#include "a2xx.xml.h"
|
|
|
|
struct a2xx_gpu {
|
|
struct adreno_gpu base;
|
|
bool pm_enabled;
|
|
};
|
|
#define to_a2xx_gpu(x) container_of(x, struct a2xx_gpu, base)
|
|
|
|
#endif /* __A2XX_GPU_H__ */
|