File tree Expand file tree Collapse file tree 2 files changed +0
-29
lines changed Expand file tree Collapse file tree 2 files changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -589,20 +589,6 @@ static int do_gt_restart(struct xe_gt *gt)
589
589
return 0 ;
590
590
}
591
591
592
- static void xe_uevent_gt_reset_failure (struct pci_dev * pdev , u8 tile_id , u8 gt_id )
593
- {
594
- char * reset_event [4 ];
595
-
596
- reset_event [0 ] = DRM_XE_RESET_FAILED_UEVENT "=NEEDS_RESET" ;
597
- reset_event [1 ] = kasprintf (GFP_KERNEL , "TILE_ID=%d" , tile_id );
598
- reset_event [2 ] = kasprintf (GFP_KERNEL , "GT_ID=%d" , gt_id );
599
- reset_event [3 ] = NULL ;
600
- kobject_uevent_env (& pdev -> dev .kobj , KOBJ_CHANGE , reset_event );
601
-
602
- kfree (reset_event [1 ]);
603
- kfree (reset_event [2 ]);
604
- }
605
-
606
592
static int gt_reset (struct xe_gt * gt )
607
593
{
608
594
int err ;
@@ -659,10 +645,6 @@ static int gt_reset(struct xe_gt *gt)
659
645
err_fail :
660
646
xe_gt_err (gt , "reset failed (%pe)\n" , ERR_PTR (err ));
661
647
662
- /* Notify userspace about gt reset failure */
663
- xe_uevent_gt_reset_failure (to_pci_dev (gt_to_xe (gt )-> drm .dev ),
664
- gt_to_tile (gt )-> id , gt -> info .id );
665
-
666
648
gt_to_xe (gt )-> needs_flr_on_fini = true;
667
649
668
650
return err ;
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ extern "C" {
20
20
* 2. Extension definition and helper structs
21
21
* 3. IOCTL's Query structs in the order of the Query's entries.
22
22
* 4. The rest of IOCTL structs in the order of IOCTL declaration.
23
- * 5. uEvents
24
23
*/
25
24
26
25
/**
@@ -1341,16 +1340,6 @@ struct drm_xe_wait_user_fence {
1341
1340
__u64 reserved [2 ];
1342
1341
};
1343
1342
1344
- /**
1345
- * DOC: uevent generated by xe on it's pci node.
1346
- *
1347
- * DRM_XE_RESET_FAILED_UEVENT - Event is generated when attempt to reset gt
1348
- * fails. The value supplied with the event is always "NEEDS_RESET".
1349
- * Additional information supplied is tile id and gt id of the gt unit for
1350
- * which reset has failed.
1351
- */
1352
- #define DRM_XE_RESET_FAILED_UEVENT "DEVICE_STATUS"
1353
-
1354
1343
#if defined(__cplusplus )
1355
1344
}
1356
1345
#endif
You can’t perform that action at this time.
0 commit comments