[idd] driver: re-plug the monitor if the heap test failed

This commit is contained in:
Geoffrey McRae
2025-03-28 23:47:31 +00:00
parent 868504d22d
commit 648fca7caa
5 changed files with 35 additions and 22 deletions

View File

@@ -36,7 +36,14 @@ struct CD3D12Device
CD3D12Device(LUID adapterLUID);
~CD3D12Device() { DeInit(); }
bool Init(CIVSHMEM &ivshmem, UINT64 &alignSize);
enum InitResult
{
RETRY,
FAILURE,
SUCCESS
};
InitResult Init(CIVSHMEM &ivshmem, UINT64 &alignSize);
void DeInit();
ComPtr<ID3D12Device3> GetDevice() { return m_device; }