From c46d6fbc5b8d87118ed608e462c62a7976d19246 Mon Sep 17 00:00:00 2001 From: Debarshi Dutta Date: Tue, 28 Jul 2020 16:53:08 +0530 Subject: gpu: nvgpu: Discard coherency check on gmmu With MSS Nvlink set for force snoop, check for the coherency flag in gmmu attribute and setting pte aperture to coherent type based on that checking is not relevant. coherent variable removed from nvgpu_gmmu_attrs struct. Bug 200473147 Bug 3057980 Change-Id: Idf76cac901ef7c70faa2c4f7f11a046d94b9466a Signed-off-by: Vinod G Reviewed-on: https://git-master.nvidia.com/r/2013212 Signed-off-by: Debarshi Dutta (cherry-picked from 4e1769097526e5203f7c18a663ab3c29f5568ae5 in rel-32) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2387272 Reviewed-by: automaticguardword Reviewed-by: Alex Waterman Reviewed-by: Bibek Basu Reviewed-by: mobile promotions Tested-by: Aayush Rajoria Tested-by: mobile promotions --- drivers/gpu/nvgpu/include/nvgpu/gmmu.h | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/gpu/nvgpu/include') diff --git a/drivers/gpu/nvgpu/include/nvgpu/gmmu.h b/drivers/gpu/nvgpu/include/nvgpu/gmmu.h index 66cb5218..8e1eeedc 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/gmmu.h +++ b/drivers/gpu/nvgpu/include/nvgpu/gmmu.h @@ -170,7 +170,6 @@ struct nvgpu_gmmu_attrs { enum gk20a_mem_rw_flag rw_flag; bool sparse; bool priv; - bool coherent; bool valid; enum nvgpu_aperture aperture; bool debug; -- cgit v1.2.2