summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2013-09-13 14:36:36 +0200
committerLucas Stach <l.stach@pengutronix.de>2013-09-17 08:45:16 +0200
commit907b18c50348adf0055ffed2863ee30758b97642 (patch)
tree7cfcac65b9319aac2cb6a6d2f8e029462b9249a8 /include/drm
parent7ca6b7bbe918faae24aadee202112e910a8b7353 (diff)
downloadlinux-907b18c50348adf0055ffed2863ee30758b97642.tar.gz
linux-907b18c50348adf0055ffed2863ee30758b97642.tar.xz
WIP: track adreno context per gpu and independant of drm driver
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drm_adreno.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/drm/drm_adreno.h b/include/drm/drm_adreno.h
index 566b0c8e2131..92275429dfe9 100644
--- a/include/drm/drm_adreno.h
+++ b/include/drm/drm_adreno.h
@@ -21,7 +21,10 @@
struct msm_gpu;
struct msm_gem_submit;
-struct msm_file_private;
+
+struct adreno_context {
+ int dummy;
+};
struct adreno_gpu_funcs {
int (*get_param)(struct msm_gpu *gpu, uint32_t param, uint64_t *value);
@@ -29,7 +32,7 @@ struct adreno_gpu_funcs {
int (*pm_suspend)(struct msm_gpu *gpu);
int (*pm_resume)(struct msm_gpu *gpu);
int (*submit)(struct msm_gpu *gpu, struct msm_gem_submit *submit,
- struct msm_file_private *ctx);
+ struct adreno_context *ctx);
void (*flush)(struct msm_gpu *gpu);
void (*idle)(struct msm_gpu *gpu);
irqreturn_t (*irq)(struct msm_gpu *irq);