diff options
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/vgpu.c')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/vgpu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/vgpu.c b/drivers/gpu/nvgpu/vgpu/vgpu.c index cfe307ff..84fd6d18 100644 --- a/drivers/gpu/nvgpu/vgpu/vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/vgpu.c | |||
@@ -209,7 +209,7 @@ int vgpu_pm_prepare_poweroff(struct device *dev) | |||
209 | 209 | ||
210 | static void vgpu_detect_chip(struct gk20a *g) | 210 | static void vgpu_detect_chip(struct gk20a *g) |
211 | { | 211 | { |
212 | struct nvhost_gpu_characteristics *gpu = &g->gpu_characteristics; | 212 | struct nvgpu_gpu_characteristics *gpu = &g->gpu_characteristics; |
213 | struct gk20a_platform *platform = gk20a_get_platform(g->dev); | 213 | struct gk20a_platform *platform = gk20a_get_platform(g->dev); |
214 | 214 | ||
215 | u32 mc_boot_0_value; | 215 | u32 mc_boot_0_value; |
@@ -222,7 +222,7 @@ static void vgpu_detect_chip(struct gk20a *g) | |||
222 | } | 222 | } |
223 | 223 | ||
224 | gpu->arch = mc_boot_0_architecture_v(mc_boot_0_value) << | 224 | gpu->arch = mc_boot_0_architecture_v(mc_boot_0_value) << |
225 | NVHOST_GPU_ARCHITECTURE_SHIFT; | 225 | NVGPU_GPU_ARCHITECTURE_SHIFT; |
226 | gpu->impl = mc_boot_0_implementation_v(mc_boot_0_value); | 226 | gpu->impl = mc_boot_0_implementation_v(mc_boot_0_value); |
227 | gpu->rev = | 227 | gpu->rev = |
228 | (mc_boot_0_major_revision_v(mc_boot_0_value) << 4) | | 228 | (mc_boot_0_major_revision_v(mc_boot_0_value) << 4) | |