drm/etnaviv: fix bogus fence complete check in timeout handler
authorLucas Stach <l.stach@pengutronix.de>
Thu, 4 Oct 2018 09:37:00 +0000 (11:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2018 08:22:12 +0000 (09:22 +0100)
commitfbea4573dc0bfcd4cc03cbda76648b67e17c01aa
tree5fe5c864c2792dc1d503dcab06058973d5f74114
parent13b3707bafea4857df5f55c3018e08015174000e
drm/etnaviv: fix bogus fence complete check in timeout handler

commit 6fce3a406108ee6c8a61e2a33e52e9198a626ea0 upstream.

The GPU hardware fences and the job out-fences are on different timelines
so it's wrong to compare them. Fix this by only looking at the out-fence.

Cc: <stable@vger.kernel.org>
Fixes: 2c83a726d6fb (drm/etnaviv: bring back progress check in job
                     timeout handler)
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/etnaviv/etnaviv_sched.c