drm/etnaviv: Ignore MC when checking runtime suspend idleness
authorGuido Günther <agx@sigxcpu.org>
Mon, 2 Mar 2020 19:13:35 +0000 (20:13 +0100)
committerLucas Stach <l.stach@pengutronix.de>
Tue, 3 Mar 2020 09:58:57 +0000 (10:58 +0100)
commit1a910c11d35bfacb68a3e650fbc087491e92661f
tree1c2d520ccf4881f8ace563dc81c56b3ebb0a37c3
parentb170455120b6a465d2b424562cafaad4a7ac94c1
drm/etnaviv: Ignore MC when checking runtime suspend idleness

Without that runtime suspend is often blocked due to
etnaviv_gpu_rpm_suspend() returning -EBUSY since the FE seems to trigger
the MC in its idle loop.

Ignoring the MC bit makes the GPU suspend as expected. This was tested
on GC7000.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
drivers/gpu/drm/etnaviv/etnaviv_gpu.c