• Lucas Stach's avatar
    drm/etnaviv: bring back progress check in job timeout handler · 2c83a726
    Lucas Stach authored
    When the hangcheck handler was replaced by the DRM scheduler timeout
    handling we dropped the forward progress check, as this might allow
    clients to hog the GPU for a long time with a big job.
    It turns out that even reasonably well behaved clients like the
    Armada Xorg driver occasionally trip over the 500ms timeout. Bring
    back the forward progress check to get rid of the userspace regression.
    We would still like to fix userspace to submit smaller batches
    if possible, but that is for another day.
    Cc: <stable@vger.kernel.org>
    Fixes: 6d7a20c0
     (drm/etnaviv: replace hangcheck with scheduler timeout)
    Reported-by: default avatarRussell King <linux@armlinux.org.uk>
    Signed-off-by: default avatarLucas Stach <l.stach@pengutronix.de>
    Reviewed-by: default avatarEric Anholt <eric@anholt.net>
etnaviv_gpu.h 4.31 KB