summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/ctrl
diff options
context:
space:
mode:
authorKonsta Holtta <kholtta@nvidia.com>2018-06-21 06:59:51 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-06-21 16:58:10 -0400
commit939d3d5c4cbc7455a9a79a31316824dba6337dd2 (patch)
treefebcb010164adcffa3c6c5e36b5c6f1974d63c3e /drivers/gpu/nvgpu/ctrl
parentc3b5b48c0fbecfb874d0fa4aa52286849bb36a5b (diff)
gpu: nvgpu: zero prealloc indices on init
Initialize the prealloc job list put and get indices to zero when allocating these resources. Otherwise we'd get whatever got left from the channel's previous lifetime. Change-Id: Idb17ec7bfbd0c1e2121c7a63e41dc5845560e988 Signed-off-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1756871 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sami Kiminki <skiminki@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/ctrl')
0 files changed, 0 insertions, 0 deletions