]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Add "null_sparse" type to VM snap properties
authorMatthew Brost <matthew.brost@intel.com>
Wed, 26 Nov 2025 18:59:45 +0000 (10:59 -0800)
committerMatthew Brost <matthew.brost@intel.com>
Mon, 1 Dec 2025 18:03:12 +0000 (10:03 -0800)
commit819c9ffd425971e0e913e5ee690f3485a28c1e0b
tree083df744a3814998217ab26455b2db447d75a6e4
parenteafc150549ec312afd8dda86eb3e53de735049ba
drm/xe: Add "null_sparse" type to VM snap properties

Add "null_sparse" type to VM snap properties indicating the VMA reads
zero and writes are droppped. This is useful information for debug and
will help 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 three options, either "userptr", "null_sparse", 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-3-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_vm.c