summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu/gr_vgpu.c
diff options
context:
space:
mode:
authorAingara Paramakuru <aparamakuru@nvidia.com>2014-10-06 21:10:10 -0400
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:11:39 -0400
commit47caf9f7f5119c301c0690595c5e5f7318ddc595 (patch)
treeabd810e514182689a5089ee36d90a6f6e0611dc6 /drivers/gpu/nvgpu/vgpu/gr_vgpu.c
parent1517aaf26f07214e9a4459ee951399262ecc200e (diff)
gpu: nvgpu: vgpu: fix build break
Switch struct definitions to use nvgpu version instead of nvhost one. Bug 1509608 Change-Id: Id8c1b0c198536766f0399437bdf2c35c6a6bfe85 Signed-off-by: Aingara Paramakuru <aparamakuru@nvidia.com> Reviewed-on: http://git-master/r/554027 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/gr_vgpu.c')
-rw-r--r--drivers/gpu/nvgpu/vgpu/gr_vgpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/gr_vgpu.c b/drivers/gpu/nvgpu/vgpu/gr_vgpu.c
index a7e966da..6f8baa4b 100644
--- a/drivers/gpu/nvgpu/vgpu/gr_vgpu.c
+++ b/drivers/gpu/nvgpu/vgpu/gr_vgpu.c
@@ -379,7 +379,7 @@ static void vgpu_gr_free_channel_ctx(struct channel_gk20a *c)
379} 379}
380 380
381static int vgpu_gr_alloc_obj_ctx(struct channel_gk20a *c, 381static int vgpu_gr_alloc_obj_ctx(struct channel_gk20a *c,
382 struct nvhost_alloc_obj_ctx_args *args) 382 struct nvgpu_alloc_obj_ctx_args *args)
383{ 383{
384 struct gk20a *g = c->g; 384 struct gk20a *g = c->g;
385 struct fifo_gk20a *f = &g->fifo; 385 struct fifo_gk20a *f = &g->fifo;
@@ -483,7 +483,7 @@ out:
483} 483}
484 484
485static int vgpu_gr_free_obj_ctx(struct channel_gk20a *c, 485static int vgpu_gr_free_obj_ctx(struct channel_gk20a *c,
486 struct nvhost_free_obj_ctx_args *args) 486 struct nvgpu_free_obj_ctx_args *args)
487{ 487{
488 unsigned long timeout = gk20a_get_gr_idle_timeout(c->g); 488 unsigned long timeout = gk20a_get_gr_idle_timeout(c->g);
489 489