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>
This commit is contained in:
David Nieto
2017-08-03 21:43:50 -07:00
committed by mobile promotions
parent bb1c38e2f5
commit f518304e0d
8 changed files with 227 additions and 8 deletions

View File

@@ -56,6 +56,10 @@
#ifndef _hw_bus_gv100_h_
#define _hw_bus_gv100_h_
static inline u32 bus_sw_scratch_r(u32 i)
{
return 0x00001580 + i*4;
}
static inline u32 bus_bar0_window_r(void)
{
return 0x00001700;