diff options
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index 0228a0c7..39ff605b 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c | |||
@@ -1648,15 +1648,6 @@ int gk20a_init_gpu_characteristics(struct gk20a *g) | |||
1648 | { | 1648 | { |
1649 | struct nvhost_gpu_characteristics *gpu = &g->gpu_characteristics; | 1649 | struct nvhost_gpu_characteristics *gpu = &g->gpu_characteristics; |
1650 | 1650 | ||
1651 | u32 mc_boot_0_value; | ||
1652 | mc_boot_0_value = gk20a_readl(g, mc_boot_0_r()); | ||
1653 | gpu->arch = mc_boot_0_architecture_v(mc_boot_0_value) << | ||
1654 | NVHOST_GPU_ARCHITECTURE_SHIFT; | ||
1655 | gpu->impl = mc_boot_0_implementation_v(mc_boot_0_value); | ||
1656 | gpu->rev = | ||
1657 | (mc_boot_0_major_revision_v(mc_boot_0_value) << 4) | | ||
1658 | mc_boot_0_minor_revision_v(mc_boot_0_value); | ||
1659 | |||
1660 | gpu->L2_cache_size = g->ops.ltc.determine_L2_size_bytes(g); | 1651 | gpu->L2_cache_size = g->ops.ltc.determine_L2_size_bytes(g); |
1661 | gpu->on_board_video_memory_size = 0; /* integrated GPU */ | 1652 | gpu->on_board_video_memory_size = 0; /* integrated GPU */ |
1662 | 1653 | ||