aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/host1x/drm/drm.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/host1x/drm/drm.h')
-rw-r--r--drivers/gpu/host1x/drm/drm.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/gpu/host1x/drm/drm.h b/drivers/gpu/host1x/drm/drm.h
index b8d9f433ebfe..858bfc0db78a 100644
--- a/drivers/gpu/host1x/drm/drm.h
+++ b/drivers/gpu/host1x/drm/drm.h
@@ -30,13 +30,13 @@ struct tegra_fbdev {
30 struct tegra_fb *fb; 30 struct tegra_fb *fb;
31}; 31};
32 32
33struct host1x_drm { 33struct tegra_drm {
34 struct drm_device *drm; 34 struct drm_device *drm;
35 struct device *dev; 35 struct device *dev;
36 36
37 struct mutex drm_clients_lock; 37 struct mutex subdevs_lock;
38 struct list_head drm_clients; 38 struct list_head subdevs;
39 struct list_head drm_active; 39 struct list_head active;
40 40
41 struct mutex clients_lock; 41 struct mutex clients_lock;
42 struct list_head clients; 42 struct list_head clients;
@@ -68,7 +68,7 @@ struct host1x_drm_file {
68}; 68};
69 69
70struct host1x_client { 70struct host1x_client {
71 struct host1x_drm *host1x; 71 struct tegra_drm *tegra;
72 struct device *dev; 72 struct device *dev;
73 73
74 const struct host1x_client_ops *ops; 74 const struct host1x_client_ops *ops;
@@ -82,12 +82,12 @@ struct host1x_client {
82 struct list_head list; 82 struct list_head list;
83}; 83};
84 84
85extern int host1x_drm_init(struct host1x_drm *host1x, struct drm_device *drm); 85extern int tegra_drm_init(struct tegra_drm *tegra, struct drm_device *drm);
86extern int host1x_drm_exit(struct host1x_drm *host1x); 86extern int tegra_drm_exit(struct tegra_drm *tegra);
87 87
88extern int host1x_register_client(struct host1x_drm *host1x, 88extern int host1x_register_client(struct tegra_drm *tegra,
89 struct host1x_client *client); 89 struct host1x_client *client);
90extern int host1x_unregister_client(struct host1x_drm *host1x, 90extern int host1x_unregister_client(struct tegra_drm *tegra,
91 struct host1x_client *client); 91 struct host1x_client *client);
92 92
93struct tegra_output; 93struct tegra_output;