Files
linux-nvgpu/drivers/gpu
Terje Bergstrom fa2a3e2d3d 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>
2017-12-01 17:07:18 -08:00
..
2017-10-29 11:00:55 -07:00