]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/gpu/drm/msm/msm_gpu.h
drm/msm: add param to retrieve # of GPU faults (global)
[linux.git] / drivers / gpu / drm / msm / msm_gpu.h
index 6241986bab51691af622d147ce6cb5773e057b74..f2739cd97cea944991ba7af41fb95e2b8a016887 100644 (file)
@@ -104,6 +104,9 @@ struct msm_gpu {
        /* does gpu need hw_init? */
        bool needs_hw_init;
 
+       /* number of GPU hangs (for all contexts) */
+       int global_faults;
+
        /* worker for handling active-list retiring: */
        struct work_struct retire_work;