diff options
author | Richard Zhao <rizhao@nvidia.com> | 2018-04-20 18:17:13 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-04-25 12:36:53 -0400 |
commit | 3d0ddb8c4a735cc0c321ddef935f5c3eaad08660 (patch) | |
tree | 2568629c3867968a6c65c381a909cb2a36faea2d /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 98dce7eaac374ccd5c4d7cf6d76decc4e9cd3896 (diff) |
gpu: nvgpu: move parameter of .vm_bind_channel from as_share to vm
as_share is more os specific and not yet used on other OSes.
Jira VQRM-2344
Change-Id: Ie2ed007125400484352fbab602c37a198e8a64ae
Signed-off-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1699842
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/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index ba27f5d9..0a60d46a 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -855,7 +855,7 @@ struct gpu_ops { | |||
855 | int rw_flag, | 855 | int rw_flag, |
856 | bool sparse, | 856 | bool sparse, |
857 | struct vm_gk20a_mapping_batch *batch); | 857 | struct vm_gk20a_mapping_batch *batch); |
858 | int (*vm_bind_channel)(struct gk20a_as_share *as_share, | 858 | int (*vm_bind_channel)(struct vm_gk20a *vm, |
859 | struct channel_gk20a *ch); | 859 | struct channel_gk20a *ch); |
860 | int (*fb_flush)(struct gk20a *g); | 860 | int (*fb_flush)(struct gk20a *g); |
861 | void (*l2_invalidate)(struct gk20a *g); | 861 | void (*l2_invalidate)(struct gk20a *g); |