From 4f67a794ddbb9e5c1ce66461fabdf3f27708945a Mon Sep 17 00:00:00 2001 From: Aparna Das Date: Thu, 30 Nov 2017 01:08:52 -0800 Subject: gpu: nvgpu: vgpu: add io coherency support Modify command message parameter to support io coherency. Jira EVLR-2025 Change-Id: I38b21c72d85f559555c4d97dab73d0f715ecc655 Signed-off-by: Aparna Das Reviewed-on: https://git-master.nvidia.com/r/1614388 Reviewed-by: mobile promotions Tested-by: mobile promotions --- include/linux/tegra_vgpu.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/linux/tegra_vgpu.h b/include/linux/tegra_vgpu.h index 5c81e8c9..7b5c9e11 100644 --- a/include/linux/tegra_vgpu.h +++ b/include/linux/tegra_vgpu.h @@ -160,6 +160,9 @@ struct tegra_vgpu_as_map_params { u32 ctag_offset; }; +#define TEGRA_VGPU_MAP_CACHEABLE (1 << 0) +#define TEGRA_VGPU_MAP_IO_COHERENT (1 << 1) + struct tegra_vgpu_as_map_ex_params { u64 handle; u64 gpu_va; @@ -168,7 +171,7 @@ struct tegra_vgpu_as_map_ex_params { u8 pgsz_idx; u8 iova; u8 kind; - u8 cacheable; + u32 flags; u8 clear_ctags; u8 prot; u32 ctag_offset; -- cgit v1.2.2