]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Add properties line to VM snapshot capture
authorMatthew Brost <matthew.brost@intel.com>
Wed, 26 Nov 2025 18:59:44 +0000 (10:59 -0800)
committerMatthew Brost <matthew.brost@intel.com>
Mon, 1 Dec 2025 18:03:11 +0000 (10:03 -0800)
commiteafc150549ec312afd8dda86eb3e53de735049ba
tree55e2b5786e032941caf7c0c6f04ea0ad28275035
parent8b5502145351bde87f522df082b9e41356898ba3
drm/xe: Add properties line to VM snapshot capture

Add properties line to VM snapshot capture which includes additional
information about VMA being dumped. This is helpful for debug purposes
but also to build a robust GPU hang replay tool.

The current format is:

[<vma address>]: <permissions>|<type>

Permissions has two options, either "read_only" or "read_write".

Type has two options, either "userptr" or "bo".

Cc: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Link: https://patch.msgid.link/20251126185952.546277-2-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_vm.c