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)
commitad85b0843ee4536593415ca890d7fb52cd7f1fbe
treec68facbb4cfbbde7db6a9d79ec7a3237870a9f94
parent04d5d5df9df79f9045e76404775fc8a084aac23d
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