mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 09:57:08 +03:00
gpu: nvgpu: Implement dGPU simulation support
Implement support for dGPU fmodel. The message protocol is slightly different and accessed via BAR0 aperture. JIRA NVGPUT-41 Change-Id: Ide3c52a751530f520854965c1eba19fa8339a315 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1694963 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
32f6ffee13
commit
c918c42a4a
28
drivers/gpu/nvgpu/common/linux/sim_pci.h
Normal file
28
drivers/gpu/nvgpu/common/linux/sim_pci.h
Normal file
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
*
|
||||
* GK20A sim support
|
||||
*
|
||||
* Copyright (c) 2018, 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.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __SIM_PCI_LINUX_H__
|
||||
#define __SIM_PCI_LINUX_H__
|
||||
|
||||
#include "gk20a/sim_gk20a.h"
|
||||
#include "sim.h"
|
||||
|
||||
int nvgpu_pci_init_sim_support(struct gk20a *g);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user