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