diff options
author | Richard Zhao <rizhao@nvidia.com> | 2016-07-05 13:19:14 -0400 |
---|---|---|
committer | Vladislav Buzov <vbuzov@nvidia.com> | 2016-07-13 02:33:59 -0400 |
commit | b486d3535db8b22f807eb4e7aac060300fab3778 (patch) | |
tree | 49636e2caa899dad5f8d7d6318062293051d8c6e /drivers/gpu/nvgpu/vgpu/gm20b | |
parent | 14fc3775fbde01dc87838d87152a7ff0860eb887 (diff) |
gpu: nvgpu: set has_physical_mode only if running on native linux
Set has_physical_mode if running on native linux for better performance.
Set it false if running on native gpu but on linux-hv, as the driver
can not get real physical address.
JIRA VFND-1965
Change-Id: I6e0322e64ad14d35d179a33e979157b53d77005a
Signed-off-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-on: http://git-master/r/1175739
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Vladislav Buzov <vbuzov@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/gm20b')
0 files changed, 0 insertions, 0 deletions