[PATCH 0/2] drm/v3d: Expose global and per-context GPU reset counters
Maíra Canal
mcanal at igalia.com
Fri Jul 11 15:18:30 UTC 2025
The GL extension KHR_robustness requires a mechanism for a GL application
to learn about graphics resets that affect a GL context. With the goal
to provide support for such extension in Mesa, this series implements
global and per-context GPU reset counters that user-space can retrieve
using the DRM_IOCTL_V3D_GET_PARAM ioctl.
The corresponding user-space implementation for this series is available at [1].
[1] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35965
Best Regards,
- Maíra
---
Maíra Canal (2):
drm/v3d: Add parameter to retrieve the global number of GPU resets
drm/v3d: Add parameter to retrieve the number of GPU resets per-fd
drivers/gpu/drm/v3d/v3d_drv.c | 11 +++++++++++
drivers/gpu/drm/v3d/v3d_drv.h | 11 +++++++++++
drivers/gpu/drm/v3d/v3d_sched.c | 5 +++++
include/uapi/drm/v3d_drm.h | 2 ++
4 files changed, 29 insertions(+)
---
base-commit: 917b10d90990fd2138b5dbc2d22cfa428c070ade
change-id: 20250708-v3d-reset-counter-ab231c87bd35
More information about the dri-devel
mailing list