summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/bus.c
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2018-02-21 18:56:40 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2018-03-16 10:34:56 -0400
commit22a95f15e0567a8f17b15fdad8864e3c4242a2fd (patch)
treeeb677953667e4d8db1d464c03cc975ceed981291 /drivers/gpu/nvgpu/common/bus.c
parenteb54945f1804e1aefa1e1e4f1fa9c5f12aa6bc92 (diff)
gpu: nvgpu: Don't ioremap() regs when using POSIX
When __NVGPU_POSIX__ is defined do no use ioremap(). This operation probably doesn't make much sense. Currently we have no plans to run the driver in userspace against a real GPU, hence programming the nvlink credits registers is simply not necessary. Also fix an unused variable by returing it as an error. JIRA NVGPU-525 Change-Id: Ic94d332551f6e25c1836331bf92188e7651546cb Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1673815 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/bus.c')
0 files changed, 0 insertions, 0 deletions