diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-11-29 18:34:19 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-12-01 20:07:18 -0500 |
commit | fa2a3e2d3dd780d409e7673e7b47a34fd1cafb4f (patch) | |
tree | 3009a9dd1b274607d8ff121ebcc66cb1b0ddb89c /drivers/gpu/nvgpu/perf/perf.c | |
parent | 7ae3c070da0c8adc52a606129c8c5c37191add30 (diff) |
gpu: nvgpu: Define create_from_phys when nvhost enabled
Define __nvgpu_mem_create_from_phys only in systems with nvhost
enabled. The calling code is also built only when nvhost is enabled.
phys_to_page() also exists only in arm64, so using it in non-arm64
platform causes a build failure.
Change-Id: Iee023b55bba863d46079796e1c49c19456c1d229
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1607581
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/perf/perf.c')
0 files changed, 0 insertions, 0 deletions