compute-runtime/level_zero/tools/source/sysman/windows
Bill Jordan 7c489ac60d Implement zetSysmanDeviceReset
Implemented function level reset.

Implementation is:
Make sure we are root (otherwise, return insufficient permissions)
Make sure no one has the device open
    (otherwise, return hande object in use)
Close our file handle
Unbind the device from the kernel driver
Make sure no one still has the device open
    (otherwise, kill them)
Perform function level reset (FLR)
Rebind the device to the kernel driver

Change-Id: Ic57b95487e73b5a5f2d03e619d813bf4199adf40
Signed-off-by: Bill Jordan <bill.jordan@intel.com>
2020-03-24 18:26:45 +01:00
..
CMakeLists.txt Link tools and experimental sources to object library 2020-03-23 08:57:19 +01:00
os_sysman_imp.cpp Link tools and experimental sources to object library 2020-03-23 08:57:19 +01:00
os_sysman_imp.h Implement zetSysmanDeviceReset 2020-03-24 18:26:45 +01:00