drm/msm: add param to retrieve # of GPU faults (global)
For KHR_robustness, userspace wants to know two things, the count of GPU faults globally, and the count of faults attributed to a given context. This patch providees the former, and the next patch provides the latter. Signed-off-by:Rob Clark <robdclark@chromium.org> Reviewed-by:
Jordan Crouse <jcrouse@codeaurora.org>
Showing
- drivers/gpu/drm/msm/adreno/adreno_gpu.c 3 additions, 0 deletionsdrivers/gpu/drm/msm/adreno/adreno_gpu.c
- drivers/gpu/drm/msm/msm_gpu.c 3 additions, 0 deletionsdrivers/gpu/drm/msm/msm_gpu.c
- drivers/gpu/drm/msm/msm_gpu.h 3 additions, 0 deletionsdrivers/gpu/drm/msm/msm_gpu.h
- include/uapi/drm/msm_drm.h 1 addition, 0 deletionsinclude/uapi/drm/msm_drm.h
Loading
Please register or sign in to comment