]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerLucas Stach <l.stach@pengutronix.de>
Mon, 5 Nov 2018 17:14:48 +0000 (18:14 +0100)
commitdc8fa7e3162dfc7fc64855badb363f9c6d780445
tree0b0b1b9b3a54d669515a785a048148584b9c051f
parentdcd1f6434919ea6a6590d19418c3f67392f043f0
drm/etnaviv: fix bogus fence complete check in timeout handler

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: a701ac5a4488 (drm/etnaviv: bring back progress check in job
                     timeout handler)
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
drivers/gpu/drm/etnaviv/etnaviv_sched.c