mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 02:52:51 +03:00
gpu: nvgpu: fix allocation error for rtvcb
Code correction to use right variable for gfxp_rtvcb_ctxsw_buffer. Bug 2492222 Change-Id: I844a2a78272c8ce90c8174864bd81153ffc9d982 Signed-off-by: Vinod G <vinodg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2001376 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com> Reviewed-by: svc-misra-checker <svc-misra-checker@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-by: Seema Khowala <seemaj@nvidia.com> Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
6cbae2c28f
commit
f6656dc00f
@@ -288,7 +288,7 @@ int nvgpu_gr_ctx_alloc_ctxsw_buffers(struct gk20a *g,
|
||||
if (gr_ctx_desc->size[NVGPU_GR_CTX_GFXP_RTVCB_CTXSW] != 0U) {
|
||||
err = nvgpu_gr_ctx_alloc_ctxsw_buffer(vm,
|
||||
gr_ctx_desc->size[NVGPU_GR_CTX_GFXP_RTVCB_CTXSW],
|
||||
&gr_ctx->pagepool_ctxsw_buffer);
|
||||
&gr_ctx->gfxp_rtvcb_ctxsw_buffer);
|
||||
if (err != 0) {
|
||||
nvgpu_err(g, "cannot allocate gfxp rtvcb");
|
||||
goto fail_free_pagepool;
|
||||
|
||||
Reference in New Issue
Block a user