Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/xe: Print vm flags in xe_vm trace print

Print vm flags in xe_vm trace print. This is helpful
to diagnosis the VM mode of operation.

Signed-off-by: Oak Zeng <oak.zeng@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241218164833.2364049-3-oak.zeng@intel.com
Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>

authored by

Oak Zeng and committed by
Himal Prasad Ghimiray
861b2758 63060df6

+5 -2
+5 -2
drivers/gpu/drm/xe/xe_trace_bo.h
··· 190 190 __string(dev, __dev_name_vm(vm)) 191 191 __field(struct xe_vm *, vm) 192 192 __field(u32, asid) 193 + __field(u32, flags) 193 194 ), 194 195 195 196 TP_fast_assign( 196 197 __assign_str(dev); 197 198 __entry->vm = vm; 198 199 __entry->asid = vm->usm.asid; 200 + __entry->flags = vm->flags; 199 201 ), 200 202 201 - TP_printk("dev=%s, vm=%p, asid=0x%05x", __get_str(dev), 202 - __entry->vm, __entry->asid) 203 + TP_printk("dev=%s, vm=%p, asid=0x%05x, vm flags=0x%05x", 204 + __get_str(dev), __entry->vm, __entry->asid, 205 + __entry->flags) 203 206 ); 204 207 205 208 DEFINE_EVENT(xe_vm, xe_vm_kill,