]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: dc: Extend debug stats with total number of events
authorDmitry Osipenko <digetx@gmail.com>
Tue, 1 Jun 2021 04:21:08 +0000 (07:21 +0300)
committerThierry Reding <treding@nvidia.com>
Fri, 13 Aug 2021 10:31:07 +0000 (12:31 +0200)
commit8fa58c95d3f8814ac1485adf75ffe5802f52af99
treec68facbb4cfbbde7db6a9d79ec7a3237870a9f94
parent59960739bd98b34482d6546ae7619e89450e297b
drm/tegra: dc: Extend debug stats with total number of events

It's useful to know the total number of underflow events and currently
the debug stats are getting reset each time CRTC is being disabled. Let's
account the overall number of events that doesn't get a reset.

Reviewed-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dc.c
drivers/gpu/drm/tegra/dc.h