Files
linux-nvgpu/drivers/gpu/nvgpu/os/linux
Divya Singhatwaria 20fcf813dd gpu: nvgpu: Use sw ops for BIOS
Some functions are not accessing hardware directly
but are being called using HAL ops: For example

.init = gv100_bios_init,
.preos_wait_for_halt = gv100_bios_preos_wait_for_halt,
.preos_reload_check = gv100_bios_preos_reload_check,
.devinit = gp106_bios_devinit,
.preos = gp106_bios_preos,
.verify_devinit = NULL,

This was being called as:
g->ops.bios.init(g)
g->ops.bios.preos_wait_for_halt(g)
g->ops.bios.preos_reload_check(g)
g->ops.bios.preos(g)
g->ops.bios.devinit(g)
g->ops.bios.verify_devinit(g)

Change the function access by using sw ops, like:
Create new function: nvgpu_bios_sw_init()
and based on hardware chip call the chip specific
bios sw init function: nvgpu_gv100_bios_sw_init()
and nvgpu_tu104_bios_sw_init()to assign the sw
ops

JIRA NVGPU-2071

Change-Id: Ibfcd9b225a7bc184737abdd94c2e54190fcd90a0
Signed-off-by: Divya Singhatwaria <dsinghatwari@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2108526
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mahantesh Kumbar <mkumbar@nvidia.com>
Reviewed-by: Vaibhav Kachore <vkachore@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2019-05-28 02:05:43 -07:00
..
2019-05-21 09:26:16 -07:00
2019-05-06 16:46:00 -07:00
2019-05-28 02:05:43 -07:00
2018-06-27 07:30:06 -07:00
2019-04-22 03:15:09 -07:00
2019-02-01 09:45:57 -08:00
2019-05-28 02:05:43 -07:00
2018-07-05 21:48:44 -07:00
2019-05-16 04:29:50 -07:00
2019-02-11 20:55:07 -08:00
2018-12-13 04:56:14 -08:00
2019-05-23 13:15:26 -07:00
2019-04-10 06:03:59 -07:00
2018-10-24 23:16:20 -07:00