summaryrefslogtreecommitdiff
path: root/overlay/gpu-perf.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-08-18 11:15:08 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-08-18 11:22:52 +0100
commit98572f0446e62eb889f28efe39fc1501e96093c1 (patch)
tree8083751ac6ddcee17a4068b53f4cb4c5090c1b9d /overlay/gpu-perf.h
parentb79a28355ded0118f6e53f745684d67c8201bf30 (diff)
overlay: Count flips per plane
Stop the misleading double-accounting of flips when we have multiple displays active. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'overlay/gpu-perf.h')
-rw-r--r--overlay/gpu-perf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/overlay/gpu-perf.h b/overlay/gpu-perf.h
index c0e00301..c23d3de5 100644
--- a/overlay/gpu-perf.h
+++ b/overlay/gpu-perf.h
@@ -11,7 +11,7 @@ struct gpu_perf {
int (*func)(struct gpu_perf *, const void *);
} *sample;
- int flip_complete;
+ int flip_complete[4];
struct gpu_perf_comm {
struct gpu_perf_comm *next;
char name[256];