diff options
-rw-r--r-- | overlay/gpu-perf.h | 4 | ||||
-rw-r--r-- | overlay/gpu-top.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/overlay/gpu-perf.h b/overlay/gpu-perf.h index 3e363fb7..0d869869 100644 --- a/overlay/gpu-perf.h +++ b/overlay/gpu-perf.h @@ -28,7 +28,7 @@ #include <stdint.h> #include <stdbool.h> -#define MAX_RINGS 4 +#define MAX_RINGS 16 struct gpu_perf { const char *error; @@ -50,7 +50,7 @@ struct gpu_perf { char name[256]; pid_t pid; bool active; - int nr_requests[4]; + int nr_requests[MAX_RINGS]; void *user_data; uint64_t wait_time; diff --git a/overlay/gpu-top.h b/overlay/gpu-top.h index cdff0cf9..d3cdd779 100644 --- a/overlay/gpu-top.h +++ b/overlay/gpu-top.h @@ -25,7 +25,7 @@ #ifndef GPU_TOP_H #define GPU_TOP_H -#define MAX_RINGS 4 +#define MAX_RINGS 16 #include <stdint.h> |