summaryrefslogtreecommitdiff
path: root/overlay
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-02-23 09:59:01 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2017-02-23 09:59:23 +0000
commit8ec8040a13657408d8b230c77f0a9c934d6e3490 (patch)
tree9d14e6c905eb65bc5b5f9fe3a9e072deed49a151 /overlay
parentd204f2d5df6d51dcfaf5e64e5a9876de753907e8 (diff)
overlay: Accommodate more engines
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'overlay')
-rw-r--r--overlay/gpu-perf.h4
-rw-r--r--overlay/gpu-top.h2
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>