diff options
author | Richard Zhao <rizhao@nvidia.com> | 2018-01-17 20:17:19 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-01-24 17:41:41 -0500 |
commit | dcff39ba8ca18a8f2f8fa860118c2757a5370413 (patch) | |
tree | 6c8e5077f88243e342a70366f02bddbac027be66 /drivers/gpu/nvgpu/common | |
parent | 0a0ffca1459d43dfdba3f5a39a7aa0c193ff0d73 (diff) |
gpu: nvgpu: vgpu: set detach_snapshot in gv11b gops
It has to be set to detach snapshot. We missed it somehow.
Jira VFND-4703
Change-Id: Ia5842494f86fb2d788d72ba372ee8870977a2f67
Signed-off-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1640668
GVS: Gerrit_Virtual_Submit
Reviewed-by: Peter Daifuku <pdaifuku@nvidia.com>
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/common')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/vgpu/gv11b/vgpu_hal_gv11b.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/vgpu/gv11b/vgpu_hal_gv11b.c b/drivers/gpu/nvgpu/common/linux/vgpu/gv11b/vgpu_hal_gv11b.c index 88d6bde0..8669bf0d 100644 --- a/drivers/gpu/nvgpu/common/linux/vgpu/gv11b/vgpu_hal_gv11b.c +++ b/drivers/gpu/nvgpu/common/linux/vgpu/gv11b/vgpu_hal_gv11b.c | |||
@@ -542,6 +542,7 @@ static const struct gpu_ops vgpu_gv11b_ops = { | |||
542 | .enable_snapshot = vgpu_css_enable_snapshot_buffer, | 542 | .enable_snapshot = vgpu_css_enable_snapshot_buffer, |
543 | .disable_snapshot = vgpu_css_release_snapshot_buffer, | 543 | .disable_snapshot = vgpu_css_release_snapshot_buffer, |
544 | .check_data_available = vgpu_css_flush_snapshots, | 544 | .check_data_available = vgpu_css_flush_snapshots, |
545 | .detach_snapshot = vgpu_css_detach, | ||
545 | .set_handled_snapshots = NULL, | 546 | .set_handled_snapshots = NULL, |
546 | .allocate_perfmon_ids = NULL, | 547 | .allocate_perfmon_ids = NULL, |
547 | .release_perfmon_ids = NULL, | 548 | .release_perfmon_ids = NULL, |