diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-08-18 18:27:47 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-08-18 18:27:47 +0100 |
commit | 7d950fa6f26e823a741f8c2db95ce4dd96c8d432 (patch) | |
tree | 82cdc73bea0bf35a6408404ece8be59f5c31f20b /overlay/overlay.c | |
parent | 3f5129471fdcc81ae4291bfa717e497d223e35a1 (diff) |
overlay: Print min/max GPU frequencies.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'overlay/overlay.c')
-rw-r--r-- | overlay/overlay.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/overlay/overlay.c b/overlay/overlay.c index 92eca694..46658195 100644 --- a/overlay/overlay.c +++ b/overlay/overlay.c @@ -432,6 +432,11 @@ static void show_gpu_freq(struct overlay_context *ctx, struct overlay_gpu_freq * cairo_show_text(ctx->cr, buf); y += 14; + sprintf(buf, "min: %dMHz, max: %dMHz", gf->gpu_freq.min, gf->gpu_freq.max); + cairo_move_to(ctx->cr, 12, y); + cairo_show_text(ctx->cr, buf); + y += 14; + ctx->last_y += 112; } |