Skip to content

panfrost: Stub implementation of PIPE_CAP_DEVICE_RESET_STATUS_QUERY

Urja Rannikko requested to merge urjaman/mesa:panfrost-device-reset-status into main

What does this MR do and why?

panfrost: Stub implementation of PIPE_CAP_DEVICE_RESET_STATUS_QUERY

This enables EGL_EXT_create_context_robustness, which is the only
extension missing from panfrost (on my T760, atleast) to report
EGL version 1.5. Recent kicad (built with wxWidgets EGL canvas)
requires EGL 1.5 to enable acceleration.

Signed-off-by: Urja Rannikko <urjaman@gmail.com>

Okay, so, what I do and why is above, the question I have is... is this acceptable? It wouldn't be the first hardware-based driver to have a stub-enable here (I noted nvc0 in my grepping).

I'd be curious to implement this properly, too, but I'm not exactly sure how to go about it or if it's worth the effort --- when does this query matter?

Is it for any time a shader fails/timeouts?

(And even then, how much of a practical effect does it have, like do actual applications running on panfrost care?)

If it's only for when a GPU is detached, well, hopefully nobody tries to detach a piece of the SoC 😆

Merge request reports