gpu: nvgpu: move usermode to hal/fifo

Moved the following HALs from fifo to usermode
- fifo.ring_channel_doorbell -> usermode.ring_doorbell
- fifo.doorbell_token -> usermode.doorbell_token
- fifo.usermode_base -> usermode.base

Created the following HAL
- usermode.setup_hw

Jira NVGPU-2978

Change-Id: I856ea24c126fa22d2f3fe860d4b14087c6d7330b
Signed-off-by: Thomas Fleury <tfleury@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2094813
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Thomas Fleury
2019-04-10 14:13:46 -07:00
committed by mobile promotions
parent 1e3cac3bc8
commit 3c4d6c95df
25 changed files with 271 additions and 158 deletions

View File

@@ -39,7 +39,6 @@
#include "pci.h"
#include "pci_power.h"
#include "pci_usermode.h"
#include "driver_common.h"
@@ -412,8 +411,6 @@ static int nvgpu_pci_init_support(struct pci_dev *pdev)
if (err)
goto fail_sim;
nvgpu_pci_init_usermode_support(l);
return 0;
fail_sim: