video: tegra: host: Read GPU arch early

Read GPU architecture and implementation early.

Bug 1387211

Change-Id: Iffc1aa013f28ec786b0325ae055d016cf004ee06
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/360237
(cherry picked from commit b7071920b90ff1b21a5d14039e609a95ba48bd64)
Reviewed-on: http://git-master/r/359754
This commit is contained in:
Terje Bergstrom
2014-01-24 10:50:48 +02:00
committed by Dan Willemsen
parent 141c9a55c5
commit 446a2ca518

View File

@@ -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 */