[Mesa-dev] [PATCH v2 0/6] gallium: device reset callback & KHR_robustness

Nicolai Hähnle nhaehnle at gmail.com
Tue Oct 4 08:11:18 UTC 2016


Hi all,

so after the discussion on the KHR_robustness patch, it seemed like a good
idea to set up a path by which the driver can notify the state tracker of
a device reset even when it isn't explicitly queried for. This series does
that, with an initial implementation for radeon.

The current radeon implementation is still a bit sketchy. Really, I think that
it should be the kernel's job to notify us of resets via appropriate error
codes on relevant ioctls. In particular, we have no choice but to rely on the
kernel for implementing the right semantics for fences during/after a reset.
Then again, it's all a bit academic anyway unless the kernel's reset
mechanism is bullet-proof.

In any case, I think the interface and state tracker bits are sound, and the
radeon parts can be improved once the kernel driver gets better. Please
review!

Thanks,
Nicolai



More information about the mesa-dev mailing list