From 8edf67e2e53c4ffd9c487a90c27eca080cb72246 Mon Sep 17 00:00:00 2001 From: Thomas Fleury Date: Mon, 18 Jul 2016 16:00:34 -0700 Subject: gpu: nvgpu: unset get_phys_addr_bits for dGPU Unset get_phys_addr_bits as PCIe devices do not need to care if SMMU is enabled or not. Jira VFND-1965 Change-Id: Ice87ff06087ec6c0a123dcf054717eff80acc8f9 Signed-off-by: Thomas Fleury Reviewed-on: http://git-master/r/1183085 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Richard Zhao Reviewed-by: Konsta Holtta Reviewed-by: Vijayakumar Subbu --- drivers/gpu/nvgpu/gp106/mm_gp106.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/gpu') diff --git a/drivers/gpu/nvgpu/gp106/mm_gp106.c b/drivers/gpu/nvgpu/gp106/mm_gp106.c index 37365022..3309a0d7 100644 --- a/drivers/gpu/nvgpu/gp106/mm_gp106.c +++ b/drivers/gpu/nvgpu/gp106/mm_gp106.c @@ -37,4 +37,5 @@ void gp106_init_mm(struct gpu_ops *gops) { gp10b_init_mm(gops); gops->mm.get_vidmem_size = gp106_mm_get_vidmem_size; + gops->mm.get_physical_addr_bits = NULL; } -- cgit v1.2.2