Displaying 1 result from an estimated 1 matches for "nouveau_map_sg".
2014 Apr 17
0
[PATCH] drm/nouveau: add some basic debugfs dumping for nouveau's clients and vm mappings
...9039f94b..945ca4efe97c 100644
--- a/drivers/gpu/drm/nouveau/core/include/subdev/vm.h
+++ b/drivers/gpu/drm/nouveau/core/include/subdev/vm.h
@@ -50,6 +50,12 @@ struct nouveau_vma {
struct nouveau_mm_node *node;
u64 offset;
u32 access;
+ enum nouveau_vma_mapping {
+ NOUVEAU_MAP_UNMAPPED,
+ NOUVEAU_MAP_SG,
+ NOUVEAU_MAP_GART,
+ NOUVEAU_MAP_VRAM
+ } mapping;
};
struct nouveau_vm {
diff --git a/drivers/gpu/drm/nouveau/core/subdev/vm/base.c b/drivers/gpu/drm/nouveau/core/subdev/vm/base.c
index 7dd680ff2f6f..6deb6de88717 100644
--- a/drivers/gpu/drm/nouveau/core/subdev/vm/base.c
+++ b/drivers/g...