History

drm/amdgpu: add a VM mapping replace operation v2

Add a new operation to replace mappings in a VM with a new one. v2: Fix Jerry's comment, separate out clear operation.

Christian König committed 9 years ago

Commit 80f95c51 parent dc54d3d4 files · +83 −1Browse files

Showing the changes to include/uapi (1 of 4 files). Show all

Unified · Split

include/uapi/drm/amdgpu_drm.h+1−0
@@ -351,6 +351,7 @@ struct drm_amdgpu_gem_op { · 350 unmodified lines
351351 #define AMDGPU_VA_OP_MAP 1
352352 #define AMDGPU_VA_OP_UNMAP 2
353353 #define AMDGPU_VA_OP_CLEAR 3
354+#define AMDGPU_VA_OP_REPLACE 4
354355
355356 /* Delay the page table update till the next CS */
356357 #define AMDGPU_VM_DELAY_UPDATE (1 << 0)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t