mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: gp10b: Use alpha+beta size for beta cb
When allocating betacb for a GfxP channel, add both alpha and beta cb sizes together. Change-Id: I8cef62f6272bfb3b5e9a3835a51590e5eb91dc92 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/752633 Reviewed-by: Automatic_Commit_Validation_User
This commit is contained in:
committed by
Deepak Nibade
parent
6b4a7ed432
commit
4e55cfd995
@@ -508,7 +508,7 @@ static int gr_gp10b_alloc_gr_ctx(struct gk20a *g,
|
||||
goto fail_free_preempt;
|
||||
}
|
||||
|
||||
err = gk20a_gmmu_alloc_map(vm, betacb_size,
|
||||
err = gk20a_gmmu_alloc_map(vm, attrib_cb_size,
|
||||
&(*gr_ctx)->t18x.betacb_ctxsw_buffer);
|
||||
if (err) {
|
||||
gk20a_err(dev_from_gk20a(vm->mm->g),
|
||||
|
||||
Reference in New Issue
Block a user