From 446a2ca5181ce9a5d8fe0c0824fba92d0c015412 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Fri, 24 Jan 2014 10:50:48 +0200 Subject: video: tegra: host: Read GPU arch early Read GPU architecture and implementation early. Bug 1387211 Change-Id: Iffc1aa013f28ec786b0325ae055d016cf004ee06 Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/360237 (cherry picked from commit b7071920b90ff1b21a5d14039e609a95ba48bd64) Reviewed-on: http://git-master/r/359754 --- drivers/gpu/nvgpu/gk20a/gk20a.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'drivers/gpu/nvgpu') 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) { struct nvhost_gpu_characteristics *gpu = &g->gpu_characteristics; - u32 mc_boot_0_value; - mc_boot_0_value = gk20a_readl(g, mc_boot_0_r()); - gpu->arch = mc_boot_0_architecture_v(mc_boot_0_value) << - NVHOST_GPU_ARCHITECTURE_SHIFT; - gpu->impl = mc_boot_0_implementation_v(mc_boot_0_value); - gpu->rev = - (mc_boot_0_major_revision_v(mc_boot_0_value) << 4) | - mc_boot_0_minor_revision_v(mc_boot_0_value); - gpu->L2_cache_size = g->ops.ltc.determine_L2_size_bytes(g); gpu->on_board_video_memory_size = 0; /* integrated GPU */ -- cgit v1.2.2