]> git.baikalelectronics.ru Git - kernel.git/commit
drm/v3d: Add a little debugfs entry for measuring the core clock.
authorEric Anholt <eric@anholt.net>
Fri, 28 Sep 2018 23:21:24 +0000 (16:21 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 15 Oct 2018 20:10:47 +0000 (13:10 -0700)
commit13597b37df2dd9e6bf39bb307e6c08633a40e0fd
tree269922262baa0261eaf4f005bf5f0986b102720d
parent173be5e0e8417d80f7c1e09b1ffb7a8243219f18
drm/v3d: Add a little debugfs entry for measuring the core clock.

This adds just enough performance counter support to measure the
clock.  We don't have linux kernel drivers for the clock driving the
HW, and this was useful for determining that the V3D HW is running on
a slow clock, not that the driver was slow.

Signed-off-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20180928232126.4332-2-eric@anholt.net
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
drivers/gpu/drm/v3d/v3d_debugfs.c
drivers/gpu/drm/v3d/v3d_regs.h