The GL extension KHR_robustness uses the number of global and per-context GPU resets to learn about graphics resets that affect a GL context. This commit introduces a new V3D parameter to retrieve the global number of GPU resets that have happened since the driver was probed. To retrieve this information, user-space must use DRM_V3D_PARAM_GLOBAL_RESET_COUNTER.
Showing the changes to include/uapi (1 of 4 files). Show all
Unified · Split
| @@ -294,6 +294,7 @@ enum drm_v3d_param { · 293 unmodified lines | ||
| 294 | 294 | DRM_V3D_PARAM_SUPPORTS_CPU_QUEUE, |
| 295 | 295 | DRM_V3D_PARAM_MAX_PERF_COUNTERS, |
| 296 | 296 | DRM_V3D_PARAM_SUPPORTS_SUPER_PAGES, |
| 297 | + DRM_V3D_PARAM_GLOBAL_RESET_COUNTER, | |
| 297 | 298 | }; |
| 298 | 299 | |
| 299 | 300 | struct drm_v3d_get_param { |