Files
linux-nvgpu/drivers/gpu/nvgpu/fifo_t19x.h
Richard Zhao 7346122ae6 gpu: nvgpu: gv11b: add fifo_gv11b and usermode_regs
- add fifo_gv11b to store usermode_regs
- consider channel_base and use usermode_regs when ring channel doorbell

It'll make kickoff code re-usable for vgpu.

Jira VFND-3796

Change-Id: Ia6974ccac137f201ad8763a7d372de81d5cca56b
Signed-off-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-on: https://git-master/r/1510457
Reviewed-by: Aingara Paramakuru <aparamakuru@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
2017-06-29 22:34:37 -07:00

22 lines
629 B
C

/*
* Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the hope it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*/
#ifndef _FIFO_T19X_H_
#define _FIFO_T19X_H_
struct fifo_t19x {
void __iomem *usermode_regs;
};
#endif