History

Revert "drm/amdkfd: SMI report dropped event count"

This reverts commit a3ab2d45b9887ee609cd3bea39f668236935774c. The userspace side for this code is not ready yet so revert for now.

Alex Deucher committed 2 years ago

Commit 97ddae71 parent 32e7ee22 files · +4 −29Browse files

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

Unified · Split

include/uapi/linux/kfd_ioctl.h+0−6
@@ -530,7 +530,6 @@ enum kfd_smi_event { · 529 unmodified lines
530530 KFD_SMI_EVENT_QUEUE_EVICTION = 9,
531531 KFD_SMI_EVENT_QUEUE_RESTORE = 10,
532532 KFD_SMI_EVENT_UNMAP_FROM_GPU = 11,
533− KFD_SMI_EVENT_DROPPED_EVENT = 12,
534533
535534 /*
536535 * max event number, as a flag bit to get events from all processes,
@@ -611,7 +610,6 @@ struct kfd_ioctl_smi_events_args { · 74 unmodified lines
611610 * rw: 'W' for write page fault, 'R' for read page fault
612611 * rescheduled: 'R' if the queue restore failed and rescheduled to try again
613612 * error_code: migrate failure error code, 0 if no error
614− * drop_count: how many events dropped when fifo is full
615613 */
616614 #define KFD_EVENT_FMT_UPDATE_GPU_RESET(reset_seq_num, reset_cause)\
617615 "%x %s\n", (reset_seq_num), (reset_cause)
@@ -647,10 +645,6 @@ struct kfd_ioctl_smi_events_args { · 29 unmodified lines
647645 "%lld -%d @%lx(%lx) %x %d\n", (ns), (pid), (addr), (size),\
648646 (node), (unmap_trigger)
649647
650−#define KFD_EVENT_FMT_DROPPED_EVENT(ns, pid, drop_count)\
651− "%lld -%d %d\n", (ns), (pid), (drop_count)
652−
653−
654648 /**************************************************************************************************
655649 * CRIU IOCTLs (Checkpoint Restore In Userspace)
656650 *