]> git.baikalelectronics.ru Git - kernel.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)
commitfdf87abb941dab3472b3a88a91b3cb43d75f77d9
treee6406acd799be59e50bc0b37af6fe5f18718ab23
parenta8bc3a5bbd08f84439f8b3171a0fc1afb12222bf
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