From 2c23d1066f947e697240f5e61529c5b48407fa08 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Wed, 5 Nov 2014 10:12:17 +0200 Subject: gpu: nvgpu: Add class numbers to characteristics Some kernel APIs rely on user space knowing class numbers. Allow querying the numbers from kernel. Bug 1567274 Change-Id: Idec2fe8ee983ee74bcbf9dfc98f71bbcc1492cfb Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/594402 --- drivers/gpu/nvgpu/vgpu/vgpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/vgpu') diff --git a/drivers/gpu/nvgpu/vgpu/vgpu.c b/drivers/gpu/nvgpu/vgpu/vgpu.c index 82a0851e..f9b97d97 100644 --- a/drivers/gpu/nvgpu/vgpu/vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/vgpu.c @@ -242,7 +242,7 @@ static int vgpu_init_hal(struct gk20a *g) case GK20A_GPUID_GK20A: gk20a_dbg_info("gk20a detected"); /* init gk20a ops then override with virt extensions */ - gk20a_init_hal(&g->ops); + gk20a_init_hal(g); vgpu_init_fifo_ops(&g->ops); vgpu_init_gr_ops(&g->ops); vgpu_init_ltc_ops(&g->ops); -- cgit v1.2.2