]> 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)
commit821879e087a1a13ac1dd22ea543b15bf934718b6
treec68facbb4cfbbde7db6a9d79ec7a3237870a9f94
parent7d245f6d0a8521ecdd467591b90d6121c65e06f8
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