History

drm/xe: Add uapi for dumpable bos

Add the flag XE_VM_BIND_FLAG_DUMPABLE to notify devcoredump that this mapping should be dumped. This is not hooked up, but the uapi should be ready before merging. It's likely easier to dump the contents of the bo's at devcoredump readout time, so it's better if the bos will stay unmodified after a hang. The NEEDS_CPU_MAPPING flag is removed as requirement.

Maarten Lankhorst committed 2 years ago

Commit 76a86b51 parent bd71cdd2 files · +3 −1Browse files

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

Unified · Split

include/uapi/drm/xe_drm.h+1−0
@@ -961,6 +961,7 @@ struct drm_xe_vm_bind_op { · 960 unmodified lines
961#define DRM_XE_VM_BIND_FLAG_READONLY (1 << 0)961#define DRM_XE_VM_BIND_FLAG_READONLY (1 << 0)
962#define DRM_XE_VM_BIND_FLAG_IMMEDIATE (1 << 1)962#define DRM_XE_VM_BIND_FLAG_IMMEDIATE (1 << 1)
963#define DRM_XE_VM_BIND_FLAG_NULL (1 << 2)963#define DRM_XE_VM_BIND_FLAG_NULL (1 << 2)
964#define DRM_XE_VM_BIND_FLAG_DUMPABLE (1 << 3)
964 /** @flags: Bind flags */965 /** @flags: Bind flags */
965 __u32 flags;966 __u32 flags;
966 967

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