From 8ec8040a13657408d8b230c77f0a9c934d6e3490 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 23 Feb 2017 09:59:01 +0000 Subject: overlay: Accommodate more engines Signed-off-by: Chris Wilson --- overlay/gpu-perf.h | 4 ++-- overlay/gpu-top.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'overlay') 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 #include -#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 -- cgit v1.2.3