Commit 3188c0f4 authored by Matthew Brost's avatar Matthew Brost Committed by Rodrigo Vivi
Browse files

drm/xe: Remove xe_vma_op_unmap



xe_vma_op_unmap isn't used, remove it.

Reviewed-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: default avatarMatthew Brost <matthew.brost@intel.com>
Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
parent fd84041d
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -2520,11 +2520,6 @@ static int vm_bind_ioctl_ops_parse(struct xe_vm *vm, struct xe_engine *e,
					xe_vma_size(gpuva_to_vma(op->base.remap.unmap->va));
				break;
			case DRM_GPUVA_OP_UNMAP:
				op->unmap.start =
					xe_vma_start(gpuva_to_vma(op->base.unmap.va));
				op->unmap.range =
					xe_vma_size(gpuva_to_vma(op->base.unmap.va));
				break;
			case DRM_GPUVA_OP_PREFETCH:
				/* Nothing to do */
				break;
+0 −10
Original line number Diff line number Diff line
@@ -326,14 +326,6 @@ struct xe_vma_op_map {
	bool is_null;
};

/** struct xe_vma_op_unmap - VMA unmap operation */
struct xe_vma_op_unmap {
	/** @start: start of the VMA unmap */
	u64 start;
	/** @range: range of the VMA unmap */
	u64 range;
};

/** struct xe_vma_op_remap - VMA remap operation */
struct xe_vma_op_remap {
	/** @prev: VMA preceding part of a split mapping */
@@ -401,8 +393,6 @@ struct xe_vma_op {
	union {
		/** @map: VMA map operation specific data */
		struct xe_vma_op_map map;
		/** @unmap: VMA unmap operation specific data */
		struct xe_vma_op_unmap unmap;
		/** @remap: VMA remap operation specific data */
		struct xe_vma_op_remap remap;
		/** @prefetch: VMA prefetch operation specific data */