summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/ctrl/ctrlvolt.h
diff options
context:
space:
mode:
authorRichard Zhao <rizhao@nvidia.com>2017-03-28 18:27:02 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-04-07 11:14:38 -0400
commit71fc7829149007437a56745e7f05d218c9ed27cc (patch)
treef927bdc3f2538804c07c5596ecee3ddbfb5b0f99 /drivers/gpu/nvgpu/ctrl/ctrlvolt.h
parent50667e097b2be567e3d2f95e23b046243bca2bf6 (diff)
gpu: nvgpu: vgpu: init vars in gk20a vgpu missed
pending_sema_waits and a few other variables in struct gk20a is used in gk20a shutdown path but we didn't initialize them in vgpu. I added a function vgpu_init_vars dedicated to init variables for struct gk20a. The native code also similar function nvgpu_init_vars(). This is a quick fix. Finally, the common probe code is better be put in common function btween vgpu and native gpu. Bug 200293437 Jira EVLR-1152 Change-Id: I55f0d179d7adba556e0cb404766e14405b3e27e5 Signed-off-by: Richard Zhao <rizhao@nvidia.com> Reviewed-on: http://git-master/r/1330229 (cherry picked from commit 7691902fec8abdd621ee17561607efeef615499f) Reviewed-on: http://git-master/r/1331604 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/ctrl/ctrlvolt.h')
0 files changed, 0 insertions, 0 deletions