diff options
author | Peter Daifuku <pdaifuku@nvidia.com> | 2017-10-06 18:38:11 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-10-13 18:20:19 -0400 |
commit | 4b8dc71de5696679f13f8863bc5775a23e786b34 (patch) | |
tree | d81dfac48102afc7a5067213f264b4d016bd3aaa /drivers/gpu/nvgpu/gv11b/hal_gv11b.c | |
parent | 7612e412151c676c4e7af08839bd98d879a25dea (diff) |
gpu: nvgpu: vgpu: flatten out t19x vgpu hal
Instead of calling the native HAL init function then adding
multiple layers of modification for VGPU, flatten out the sequence
so that all entry points are set statically and visible in a
single file.
JIRA ESRM-30
Change-Id: I8d277aaccb0e63b2d504e7aba32eb31ef82f4ec0
Signed-off-by: Peter Daifuku <pdaifuku@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1574619
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: Richard Zhao <rizhao@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/hal_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/hal_gv11b.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c index 4a289d8f..4241145a 100644 --- a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c | |||
@@ -94,7 +94,7 @@ | |||
94 | #include <nvgpu/hw/gv11b/hw_pwr_gv11b.h> | 94 | #include <nvgpu/hw/gv11b/hw_pwr_gv11b.h> |
95 | #include <nvgpu/hw/gv11b/hw_fuse_gv11b.h> | 95 | #include <nvgpu/hw/gv11b/hw_fuse_gv11b.h> |
96 | 96 | ||
97 | static int gv11b_get_litter_value(struct gk20a *g, int value) | 97 | int gv11b_get_litter_value(struct gk20a *g, int value) |
98 | { | 98 | { |
99 | int ret = EINVAL; | 99 | int ret = EINVAL; |
100 | switch (value) { | 100 | switch (value) { |