History

drm/v3d: Add parameter to retrieve the global number of GPU resets

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.

Maíra Canal committed 1 year ago

Commit 5774b3c1 parent 2650bc44 files · +13 −0Browse files

Showing the changes to include/uapi (1 of 4 files). Show all

Unified · Split

include/uapi/drm/v3d_drm.h+1−0
@@ -294,6 +294,7 @@ enum drm_v3d_param { · 293 unmodified lines
294294 DRM_V3D_PARAM_SUPPORTS_CPU_QUEUE,
295295 DRM_V3D_PARAM_MAX_PERF_COUNTERS,
296296 DRM_V3D_PARAM_SUPPORTS_SUPER_PAGES,
297+ DRM_V3D_PARAM_GLOBAL_RESET_COUNTER,
297298 };
298299
299300 struct drm_v3d_get_param {