mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: gp10b: Do not clear compbit store size
Do not clear compbit store size if max size is zero. It's already zero at this point. Change-Id: I70d99cfe459fae27d8c1be4aa569ac0717a454d7 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/720599
This commit is contained in:
committed by
Deepak Nibade
parent
bd65e7611f
commit
e3dcb7546a
@@ -72,10 +72,8 @@ static int gp10b_ltc_init_comptags(struct gk20a *g, struct gr_gk20a *gr)
|
||||
|
||||
gk20a_dbg_fn("");
|
||||
|
||||
if (max_comptag_lines == 0) {
|
||||
gr->compbit_store.size = 0;
|
||||
if (max_comptag_lines == 0)
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (max_comptag_lines > hw_max_comptag_lines)
|
||||
max_comptag_lines = hw_max_comptag_lines;
|
||||
|
||||
Reference in New Issue
Block a user