[PATCH 0/5] drm/etnaviv: Ignore MC bit when checking for runtime suspend

From: Guido GÃnther
Date: Mon Mar 02 2020 - 14:13:44 EST


At least GC7000 fails to enter runtime suspend for long periods of time since
the MC becomes busy again even when the FE is idle. The rest of the series
makes detecting similar issues easier to debug in the future by checking
all known bits in debugfs and also warning in the EBUSY case.

Tested on GC7000 with a reduced runtime delay of 50ms. Patches are
against next-20200226.

Thanks to Lucas Stach for pointing me in the right direction.

Guido GÃnther (5):
drm/etnaviv: Fix typo in comment
drm/etnaviv: Update idle bits
drm/etnaviv: Consider all kwnown idle bits in debugfs
drm/etnaviv: Ignore MC when checking runtime suspend idleness
drm/etnaviv: Warn when GPU doesn't idle fast enough

drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 26 ++++++++++++++++++++++----
drivers/gpu/drm/etnaviv/state_hi.xml.h | 7 +++++++
2 files changed, 29 insertions(+), 4 deletions(-)

--
2.23.0