mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: gp10b: Fix CB size for GfxP
Program correct CB size for GfxP channels. We were accidentally using the context image size. Change-Id: I273215256e41e89b7d76f3294a73641804beeb79 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/792713 Reviewed-on: http://git-master/r/806188
This commit is contained in:
committed by
Deepak Nibade
parent
1ef64423f9
commit
0e6a87cf22
@@ -902,7 +902,7 @@ static void gr_gp10b_commit_global_attrib_cb(struct gk20a *g,
|
||||
int attrBufferSize;
|
||||
|
||||
if (gr_ctx->t18x.preempt_ctxsw_buffer.gpu_va)
|
||||
attrBufferSize = gr_ctx->t18x.preempt_ctxsw_buffer.size;
|
||||
attrBufferSize = gr_ctx->t18x.betacb_ctxsw_buffer.size;
|
||||
else
|
||||
attrBufferSize = g->ops.gr.calc_global_ctx_buffer_size(g);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user