mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
feature: add logic to iterate for all contexts to check GPU pagefault
Implemented to go through entire contexts in the process and then query reset status to check the unexpected GPU segfault. Added a new debug variable GpuFaultCheckThreshold to change the checking frequency for each hang check for performance analysis. Related-To: GSD-5673 Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
5111f30116
commit
82728ff394
@@ -98,6 +98,8 @@ class DrmMemoryManager : public MemoryManager {
|
||||
size_t getSizeOfChunk(size_t allocSize);
|
||||
bool checkAllocationForChunking(size_t allocSize, size_t minSize, bool subDeviceEnabled, bool debugDisabled, bool modeEnabled, bool bufferEnabled);
|
||||
|
||||
MOCKABLE_VIRTUAL void checkUnexpectedGpuPageFault();
|
||||
|
||||
protected:
|
||||
void registerSharedBoHandleAllocation(DrmAllocation *drmAllocation);
|
||||
BufferObjectHandleWrapper tryToGetBoHandleWrapperWithSharedOwnership(int boHandle);
|
||||
|
||||
Reference in New Issue
Block a user