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
@@ -1985,7 +1985,7 @@ int gk20a_ctrl_dev_mmap(struct file *filp, struct vm_area_struct *vma)
|
||||
struct nvgpu_os_linux *l = nvgpu_os_linux_from_gk20a(g);
|
||||
int err;
|
||||
|
||||
if (g->ops.fifo.usermode_base == NULL)
|
||||
if (g->ops.usermode.base == NULL)
|
||||
return -ENOSYS;
|
||||
|
||||
if (priv->usermode_vma.vma != NULL)
|
||||
|
||||
Reference in New Issue
Block a user