From 998f13dc8a37e24b659453644add218c9d2106e8 Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Wed, 21 Nov 2018 11:43:30 -0800 Subject: [PATCH] gpu: nvgpu: Unified VA space for dGPUs Enable the unified address space flag for all dGPUs. Bug 200105199 Change-Id: I082742344f100bf7d27abf0580ddd6134aae8f90 Signed-off-by: Alex Waterman Reviewed-on: https://git-master.nvidia.com/r/1955624 Reviewed-by: Terje Bergstrom Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/os/linux/pci.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/drivers/gpu/nvgpu/os/linux/pci.c b/drivers/gpu/nvgpu/os/linux/pci.c index 29f698ceb..b21f3b2d0 100644 --- a/drivers/gpu/nvgpu/os/linux/pci.c +++ b/drivers/gpu/nvgpu/os/linux/pci.c @@ -101,6 +101,7 @@ static struct gk20a_platform nvgpu_pci_device[] = { .ch_wdt_timeout_ms = 7000, + .unify_address_spaces = true, .honors_aperture = true, .dma_mask = DMA_BIT_MASK(40), .vbios_min_version = 0x86063000, @@ -137,6 +138,7 @@ static struct gk20a_platform nvgpu_pci_device[] = { .ch_wdt_timeout_ms = 7000, + .unify_address_spaces = true, .honors_aperture = true, .dma_mask = DMA_BIT_MASK(40), .vbios_min_version = 0x86062d00, @@ -173,6 +175,7 @@ static struct gk20a_platform nvgpu_pci_device[] = { .ch_wdt_timeout_ms = 7000, + .unify_address_spaces = true, .honors_aperture = true, .dma_mask = DMA_BIT_MASK(40), .vbios_min_version = 0x86063000, @@ -209,6 +212,7 @@ static struct gk20a_platform nvgpu_pci_device[] = { .ch_wdt_timeout_ms = 7000, + .unify_address_spaces = true, .honors_aperture = true, .dma_mask = DMA_BIT_MASK(40), .vbios_min_version = 0x86065300, @@ -245,6 +249,7 @@ static struct gk20a_platform nvgpu_pci_device[] = { .ch_wdt_timeout_ms = 7000, + .unify_address_spaces = true, .honors_aperture = true, .dma_mask = DMA_BIT_MASK(40), .vbios_min_version = 0x88001e00, @@ -279,6 +284,7 @@ static struct gk20a_platform nvgpu_pci_device[] = { .ch_wdt_timeout_ms = 7000, + .unify_address_spaces = true, .honors_aperture = true, .dma_mask = DMA_BIT_MASK(40), .vbios_min_version = 0x88001e00, @@ -313,6 +319,7 @@ static struct gk20a_platform nvgpu_pci_device[] = { .ch_wdt_timeout_ms = 7000, + .unify_address_spaces = true, .honors_aperture = true, .dma_mask = DMA_BIT_MASK(40), .vbios_min_version = 0x88000126, @@ -348,6 +355,7 @@ static struct gk20a_platform nvgpu_pci_device[] = { .ch_wdt_timeout_ms = 7000, + .unify_address_spaces = true, .honors_aperture = true, .dma_mask = DMA_BIT_MASK(40), .vbios_min_version = 0x1, @@ -386,6 +394,7 @@ static struct gk20a_platform nvgpu_pci_device[] = { */ .ch_wdt_timeout_ms = 30000, + .unify_address_spaces = true, .honors_aperture = true, .dma_mask = DMA_BIT_MASK(40), .vbios_min_version = 0x1, @@ -420,6 +429,7 @@ static struct gk20a_platform nvgpu_pci_device[] = { .ch_wdt_timeout_ms = 7000, + .unify_address_spaces = true, .honors_aperture = true, .dma_mask = DMA_BIT_MASK(40), .vbios_min_version = 0x90041800,