]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/msm: add param to retrieve # of GPU faults (global)
authorRob Clark <robdclark@chromium.org>
Tue, 16 Apr 2019 23:13:28 +0000 (16:13 -0700)
committerRob Clark <robdclark@chromium.org>
Fri, 19 Apr 2019 18:50:00 +0000 (11:50 -0700)
commit48dc4241c9cd62bfbe33625e669e21d7081d35fa
treee6406acd799be59e50bc0b37af6fe5f18718ab23
parentd674c963af7470b6394b4b7f98cf2716b3a757d7
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>
drivers/gpu/drm/msm/adreno/adreno_gpu.c
drivers/gpu/drm/msm/msm_gpu.c
drivers/gpu/drm/msm/msm_gpu.h
include/uapi/drm/msm_drm.h