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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/vgpu.c b/drivers/gpu/nvgpu/vgpu/vgpu.c
index 11fa73c5..84fd6d18 100644
--- a/drivers/gpu/nvgpu/vgpu/vgpu.c
+++ b/drivers/gpu/nvgpu/vgpu/vgpu.c
@@ -21,7 +21,6 @@
21#include "gk20a/debug_gk20a.h" 21#include "gk20a/debug_gk20a.h"
22#include "gk20a/hal_gk20a.h" 22#include "gk20a/hal_gk20a.h"
23#include "gk20a/hw_mc_gk20a.h" 23#include "gk20a/hw_mc_gk20a.h"
24#include "nvgpu_gpuid.h"
25 24
26static inline int vgpu_comm_init(struct platform_device *pdev) 25static inline int vgpu_comm_init(struct platform_device *pdev)
27{ 26{
@@ -240,7 +239,7 @@ static int vgpu_init_hal(struct gk20a *g)
240 u32 ver = g->gpu_characteristics.arch + g->gpu_characteristics.impl; 239 u32 ver = g->gpu_characteristics.arch + g->gpu_characteristics.impl;
241 240
242 switch (ver) { 241 switch (ver) {
243 case NVGPU_GPUID_GK20A: 242 case GK20A_GPUID_GK20A:
244 gk20a_dbg_info("gk20a detected"); 243 gk20a_dbg_info("gk20a detected");
245 /* init gk20a ops then override with virt extensions */ 244 /* init gk20a ops then override with virt extensions */
246 gk20a_init_hal(&g->ops); 245 gk20a_init_hal(&g->ops);