[PATCH 0/6] RFC Support hot device unplug in amdgpu
Chris Wilson
chris at chris-wilson.co.uk
Mon May 11 10:19:30 UTC 2020
Quoting Daniel Vetter (2020-05-11 10:54:33)
> - worse, neither vk nor gl (to my knowledge) have a concept of events
> for when the gpu died. The only stuff you have is things like
> arb_robustness which says a) everything continues as if nothing
> happened b) there's a function where you can ask whether your gl
> context and all the textures/buffers are toast.
Vulkan/DX12 arrived after eGPU, and there is at least the concept of
VK_ERROR_DEVICE_LOST. Mainly used at the moment after a GPU hang and
loss of context.
https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#devsandqueues-lost-device
-Chris
More information about the amd-gfx
mailing list