mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 18:16:01 +03:00
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:
committed by
mobile promotions
parent
1e3cac3bc8
commit
3c4d6c95df
@@ -335,15 +335,7 @@ int gk20a_pm_finalize_poweron(struct device *dev)
|
||||
if (err)
|
||||
goto done;
|
||||
|
||||
if (g->ops.fifo.usermode_base != NULL) {
|
||||
/*
|
||||
* Native has regs_bus_addr set but not this one yet. Virtual
|
||||
* gets usermode_regs_bus_addr directly from chip-specific
|
||||
* probe, and regs_bus_addr stays unset.
|
||||
*/
|
||||
l->usermode_regs_bus_addr = l->regs_bus_addr +
|
||||
g->ops.fifo.usermode_base(g);
|
||||
}
|
||||
nvgpu_init_usermode_support(g);
|
||||
|
||||
err = nvgpu_finalize_poweron_linux(l);
|
||||
if (err)
|
||||
|
||||
Reference in New Issue
Block a user