gpu: nvgpu: gv11b: fbhub: num_ltcs are read only

In gv11b fbhub num_ltcs is read only, even though
register spec says it is rw. The number of ltcs
are populated by hw and no need for sw to set those
values.

GPUT19X-70

Change-Id: Ib9861894cacb70cf54b4958083e55d39a3a85e19
Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/1497992
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
seshendra Gadagottu
2017-06-07 16:59:47 -07:00
committed by mobile promotions
parent ca76b41a64
commit cdcbda97e6

View File

@@ -67,12 +67,9 @@ static void gv11b_fb_init_fs_state(struct gk20a *g)
{
nvgpu_log(g, gpu_dbg_fn, "initialize gv11b fb");
nvgpu_log(g, gpu_dbg_info, "fbhub active ltcs %u",
nvgpu_log(g, gpu_dbg_info, "fbhub active ltcs %x",
gk20a_readl(g, fb_fbhub_num_active_ltcs_r()));
gk20a_writel(g, fb_mmu_num_active_ltcs_r(),
fb_mmu_num_active_ltcs_count_f(g->ltc_count));
nvgpu_log(g, gpu_dbg_info, "mmu active ltcs %u",
fb_mmu_num_active_ltcs_count_v(
gk20a_readl(g, fb_mmu_num_active_ltcs_r())));