mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 18:16:01 +03:00
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 <aparnad@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1614388 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
b983c67d84
commit
4f67a794dd
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user