diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-11-10 13:59:26 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-11-13 13:57:14 -0500 |
commit | e590cf6c2c18d5bd7fca20186ded2a599c68c6c7 (patch) | |
tree | 894e6c39e6bbdcc4131558d7d3e855ef461bef29 /drivers/gpu/nvgpu/vgpu/gv11b | |
parent | 98bd673a7371940f24d37ad3a6d7b426995e737e (diff) |
gpu: nvgpu: gv11b: Do not assign GPU classes in vgpu HAL
GPU class ids were moved to get_litter_value API, but vgpu was not
updated to remove assigning them in HAL initialization. Remove the
duplicate assignments.
JIRA NVGPU-388
Change-Id: If75944517d1ea813496b1f2a12a1faf03406d8d0
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1596244
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/gv11b')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c index a496d3fc..b7c7cd2f 100644 --- a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c +++ b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c | |||
@@ -558,7 +558,6 @@ static const struct gpu_ops vgpu_gv11b_ops = { | |||
558 | int vgpu_gv11b_init_hal(struct gk20a *g) | 558 | int vgpu_gv11b_init_hal(struct gk20a *g) |
559 | { | 559 | { |
560 | struct gpu_ops *gops = &g->ops; | 560 | struct gpu_ops *gops = &g->ops; |
561 | struct nvgpu_gpu_characteristics *c = &g->gpu_characteristics; | ||
562 | u32 val; | 561 | u32 val; |
563 | bool priv_security; | 562 | bool priv_security; |
564 | 563 | ||
@@ -640,12 +639,5 @@ int vgpu_gv11b_init_hal(struct gk20a *g) | |||
640 | 639 | ||
641 | g->name = "gv11b"; | 640 | g->name = "gv11b"; |
642 | 641 | ||
643 | c->twod_class = FERMI_TWOD_A; | ||
644 | c->threed_class = VOLTA_A; | ||
645 | c->compute_class = VOLTA_COMPUTE_A; | ||
646 | c->gpfifo_class = VOLTA_CHANNEL_GPFIFO_A; | ||
647 | c->inline_to_memory_class = KEPLER_INLINE_TO_MEMORY_B; | ||
648 | c->dma_copy_class = VOLTA_DMA_COPY_A; | ||
649 | |||
650 | return 0; | 642 | return 0; |
651 | } | 643 | } |