diff options
author | Thierry Reding <treding@nvidia.com> | 2013-09-26 10:08:22 -0400 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2013-10-31 04:20:06 -0400 |
commit | c88c363072c6dcd5427077f799b2711a10f616e4 (patch) | |
tree | a50c1338b64d4a8a9d0bfe039e1e9a3402e3722b /drivers/gpu/host1x/drm/drm.h | |
parent | 08943e6cbcd4d35d349a821d77c2e34ac0a4e549 (diff) |
drm/tegra: Rename host1x_drm_context to tegra_drm_context
The structure represents a context associated with a particular process
that has opened the Tegra DRM device and requested a channel. This is a
very DRM-specific notion and has nothing to do with host1x. Rename the
structure to more clearly mark the boundaries between the two.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/host1x/drm/drm.h')
-rw-r--r-- | drivers/gpu/host1x/drm/drm.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/host1x/drm/drm.h b/drivers/gpu/host1x/drm/drm.h index 74869d3e2d8c..dd6b98b18640 100644 --- a/drivers/gpu/host1x/drm/drm.h +++ b/drivers/gpu/host1x/drm/drm.h | |||
@@ -46,7 +46,7 @@ struct tegra_drm { | |||
46 | 46 | ||
47 | struct host1x_client; | 47 | struct host1x_client; |
48 | 48 | ||
49 | struct host1x_drm_context { | 49 | struct tegra_drm_context { |
50 | struct host1x_client *client; | 50 | struct host1x_client *client; |
51 | struct host1x_channel *channel; | 51 | struct host1x_channel *channel; |
52 | struct list_head list; | 52 | struct list_head list; |
@@ -56,9 +56,9 @@ struct host1x_client_ops { | |||
56 | int (*drm_init)(struct host1x_client *client, struct drm_device *drm); | 56 | int (*drm_init)(struct host1x_client *client, struct drm_device *drm); |
57 | int (*drm_exit)(struct host1x_client *client); | 57 | int (*drm_exit)(struct host1x_client *client); |
58 | int (*open_channel)(struct host1x_client *client, | 58 | int (*open_channel)(struct host1x_client *client, |
59 | struct host1x_drm_context *context); | 59 | struct tegra_drm_context *context); |
60 | void (*close_channel)(struct host1x_drm_context *context); | 60 | void (*close_channel)(struct tegra_drm_context *context); |
61 | int (*submit)(struct host1x_drm_context *context, | 61 | int (*submit)(struct tegra_drm_context *context, |
62 | struct drm_tegra_submit *args, struct drm_device *drm, | 62 | struct drm_tegra_submit *args, struct drm_device *drm, |
63 | struct drm_file *file); | 63 | struct drm_file *file); |
64 | }; | 64 | }; |