diff options
author | Sam Payne <spayne@nvidia.com> | 2014-10-31 17:27:33 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:11:56 -0400 |
commit | 8c6a9fd1151299697037d58f33cfa306d8ac5d87 (patch) | |
tree | 9bb909474f12565e7f61251b8b80f300030bde52 /drivers/gpu/nvgpu/vgpu/ltc_vgpu.c | |
parent | 4f6dddcf78233b9939ee32c6f09519f27c3b8fb4 (diff) |
Revert "gpu: nvgpu: GR and LTC HAL to use const structs"
This reverts commit 41b82e97164138f45fbdaef6ab6939d82ca9419e.
Change-Id: Iabd01fcb124e0d22cd9be62151a6552cbb27fc94
Signed-off-by: Sam Payne <spayne@nvidia.com>
Reviewed-on: http://git-master/r/592221
Tested-by: Hoang Pham <hopham@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/ltc_vgpu.c')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/ltc_vgpu.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/ltc_vgpu.c b/drivers/gpu/nvgpu/vgpu/ltc_vgpu.c index 0a7d19c4..ddff23b7 100644 --- a/drivers/gpu/nvgpu/vgpu/ltc_vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/ltc_vgpu.c | |||
@@ -48,12 +48,8 @@ static int vgpu_ltc_init_comptags(struct gk20a *g, struct gr_gk20a *gr) | |||
48 | return 0; | 48 | return 0; |
49 | } | 49 | } |
50 | 50 | ||
51 | static const struct gpu_ltc_ops vgpu_ltc_ops = { | ||
52 | .determine_L2_size_bytes = vgpu_determine_L2_size_bytes, | ||
53 | .init_comptags = vgpu_ltc_init_comptags, | ||
54 | }; | ||
55 | |||
56 | void vgpu_init_ltc_ops(struct gpu_ops *gops) | 51 | void vgpu_init_ltc_ops(struct gpu_ops *gops) |
57 | { | 52 | { |
58 | gops->ltc = &vgpu_ltc_ops; | 53 | gops->ltc.determine_L2_size_bytes = vgpu_determine_L2_size_bytes; |
54 | gops->ltc.init_comptags = vgpu_ltc_init_comptags; | ||
59 | } | 55 | } |