summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu/vgpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/vgpu.c')
-rw-r--r--drivers/gpu/nvgpu/vgpu/vgpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/vgpu.c b/drivers/gpu/nvgpu/vgpu/vgpu.c
index 266b801e..07361afe 100644
--- a/drivers/gpu/nvgpu/vgpu/vgpu.c
+++ b/drivers/gpu/nvgpu/vgpu/vgpu.c
@@ -119,7 +119,7 @@ static void vgpu_handle_channel_event(struct gk20a *g,
119 119
120static void vgpu_channel_abort_cleanup(struct gk20a *g, u32 chid) 120static void vgpu_channel_abort_cleanup(struct gk20a *g, u32 chid)
121{ 121{
122 struct channel_gk20a *ch = gk20a_channel_get(&g->fifo.channel[chid]); 122 struct channel_gk20a *ch = gk20a_channel_from_id(g, chid);
123 123
124 if (ch == NULL) { 124 if (ch == NULL) {
125 nvgpu_err(g, "invalid channel id %d", chid); 125 nvgpu_err(g, "invalid channel id %d", chid);