gpu: nvgpu: Handle missing DMA address
authorSami Kiminki <skiminki@nvidia.com>
Fri, 9 May 2014 15:58:13 +0000 (18:58 +0300)
committerRiham Haidar <rhaidar@nvidia.com>
Wed, 28 May 2014 20:43:40 +0000 (13:43 -0700)
commit187537d26639f5e866aec00a078c74bfea4beeae
treec01882aae7ce0e297ceb63bc013a8af43317f1df
parentcb0c6f039bd815838731443b61d1ece030689f68
gpu: nvgpu: Handle missing DMA address

If DMA address is not defined, use the physical address.

Bug 1500983

Change-Id: Ic33b21f74c8c2760e43146b87eec7ea467fc87be
Signed-off-by: Sami Kiminki <skiminki@nvidia.com>
(cherry picked from commit 8ae9a6567349241ce1cfff383526b0d9d39c28a1)
Reviewed-on: http://git-master/r/415238
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>
drivers/gpu/nvgpu/gk20a/mm_gk20a.c