mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
d6392c5e48
Support for A4XX GPU family. A4xx shares a lot of code with A3xx, reuse the common functions whenever possible. Change-Id: If10eac6ad71c92bf699a8874c1f189afc74db914 Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
25 lines
1,003 B
C
25 lines
1,003 B
C
/* Copyright (c) 2013, The Linux Foundation. All rights reserved.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 and
|
|
* only version 2 as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
*/
|
|
#ifndef __A3XX_H
|
|
#define __A3XX_H
|
|
|
|
void a3xx_err_callback(struct adreno_device *adreno_dev, int bit);
|
|
irqreturn_t a3xx_irq_handler(struct adreno_device *adreno_dev);
|
|
void a3xx_irq_control(struct adreno_device *adreno_dev, int state);
|
|
unsigned int a3xx_irq_pending(struct adreno_device *adreno_dev);
|
|
unsigned int a3xx_busy_cycles(struct adreno_device *adreno_dev);
|
|
|
|
int a3xx_rb_init(struct adreno_device *adreno_dev,
|
|
struct adreno_ringbuffer *rb);
|
|
|
|
#endif /*__A3XX_H */
|