mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 01:50:07 +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
@@ -34,6 +34,8 @@
|
||||
#include "sysfs.h"
|
||||
#include "os_linux.h"
|
||||
#include "platform_gk20a.h"
|
||||
#include "sim.h"
|
||||
#include "sim_pci.h"
|
||||
|
||||
#include "pci.h"
|
||||
#include "pci_usermode.h"
|
||||
@@ -493,6 +495,10 @@ static int nvgpu_pci_init_support(struct pci_dev *pdev)
|
||||
goto fail;
|
||||
}
|
||||
|
||||
err = nvgpu_pci_init_sim_support(g);
|
||||
if (err)
|
||||
goto fail;
|
||||
|
||||
nvgpu_pci_init_usermode_support(l);
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user