summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/host1x/drm/gr2d.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2013-09-26 16:08:22 +0200
committerThierry Reding <treding@nvidia.com>2013-10-31 09:20:06 +0100
commitc88c363072c6dcd5427077f799b2711a10f616e4 (patch)
treea50c1338b64d4a8a9d0bfe039e1e9a3402e3722b /drivers/gpu/host1x/drm/gr2d.c
parent08943e6cbcd4d35d349a821d77c2e34ac0a4e549 (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/gr2d.c')
-rw-r--r--drivers/gpu/host1x/drm/gr2d.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/host1x/drm/gr2d.c b/drivers/gpu/host1x/drm/gr2d.c
index 5f838b191d0..06507c838d4 100644
--- a/drivers/gpu/host1x/drm/gr2d.c
+++ b/drivers/gpu/host1x/drm/gr2d.c
@@ -58,7 +58,7 @@ static int gr2d_client_exit(struct host1x_client *client)
}
static int gr2d_open_channel(struct host1x_client *client,
- struct host1x_drm_context *context)
+ struct tegra_drm_context *context)
{
struct gr2d *gr2d = to_gr2d(client);
@@ -70,7 +70,7 @@ static int gr2d_open_channel(struct host1x_client *client,
return 0;
}
-static void gr2d_close_channel(struct host1x_drm_context *context)
+static void gr2d_close_channel(struct tegra_drm_context *context)
{
host1x_channel_put(context->channel);
}
@@ -94,7 +94,7 @@ static struct host1x_bo *host1x_bo_lookup(struct drm_device *drm,
return &bo->base;
}
-static int gr2d_submit(struct host1x_drm_context *context,
+static int gr2d_submit(struct tegra_drm_context *context,
struct drm_tegra_submit *args, struct drm_device *drm,
struct drm_file *file)
{