diff options
author | David Nieto <dmartineznie@nvidia.com> | 2017-08-04 00:43:50 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-10-10 15:05:41 -0400 |
commit | f518304e0d8102216c7c0022cd4b66fcd844264c (patch) | |
tree | fc6be25fb1f713654d5f725361bd1ecb722a085c /drivers/gpu/nvgpu/include | |
parent | bb1c38e2f5f133a4281f73f8076a206ec728bd22 (diff) |
gpu: nvgpu: fix GV100 hal definitions
These changes allow GV100 to init the basic HALs to pass
nvgpu_submit_twod
(1) Allocate fault buffer from vidmem instead of sysmem to prevent coherency
issues
(2) Properly enable FB
(3) Fan control requires the execution of the pre-os FW, without it the SKU201
is extremely noisy
JIRA: NVGPUGV100-9
Change-Id: I9b2072737e45432f957e7faae6d33bc0ab43b817
Signed-off-by: David Nieto <dmartineznie@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1539926
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_bus_gv100.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_bus_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_bus_gv100.h index bc4f7f28..2c89ccd6 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_bus_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_bus_gv100.h | |||
@@ -56,6 +56,10 @@ | |||
56 | #ifndef _hw_bus_gv100_h_ | 56 | #ifndef _hw_bus_gv100_h_ |
57 | #define _hw_bus_gv100_h_ | 57 | #define _hw_bus_gv100_h_ |
58 | 58 | ||
59 | static inline u32 bus_sw_scratch_r(u32 i) | ||
60 | { | ||
61 | return 0x00001580 + i*4; | ||
62 | } | ||
59 | static inline u32 bus_bar0_window_r(void) | 63 | static inline u32 bus_bar0_window_r(void) |
60 | { | 64 | { |
61 | return 0x00001700; | 65 | return 0x00001700; |