From 0645492bae692202cad2bda257c47e8fb19a3e1c Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Wed, 12 Dec 2018 13:35:52 -0800 Subject: [PATCH] gpu: ngpu: Add PHYSICALLY_ADDRESSED flag to Linux DMA debug string Add this flag name to the DMA debug string that is used for sizing the buf used to print DMA debugging info. This was missed when adding this new DMA flag. Change-Id: I2d97f8532f512811f7804e03fff2dbaabe8479a7 Signed-off-by: Alex Waterman Reviewed-on: https://git-master.nvidia.com/r/1971677 Reviewed-by: Terje Bergstrom Reviewed-by: Thomas Fleury Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/os/linux/linux-dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/nvgpu/os/linux/linux-dma.c b/drivers/gpu/nvgpu/os/linux/linux-dma.c index 6dcc40662..abacf27fd 100644 --- a/drivers/gpu/nvgpu/os/linux/linux-dma.c +++ b/drivers/gpu/nvgpu/os/linux/linux-dma.c @@ -49,7 +49,7 @@ * added it must be added here as well!! */ #define NVGPU_DMA_STR_SIZE \ - sizeof("NO_KERNEL_MAPPING FORCE_CONTIGUOUS") + sizeof("NO_KERNEL_MAPPING FORCE_CONTIGUOUS PHYSICALLY_ADDRESSED") /* * The returned string is kmalloc()ed here but must be freed by the caller.