etnaviv/drm: only print out fence error on non timeout
authorLionel Landwerlin <llandwerlin@gmail.com>
Mon, 29 Mar 2021 09:48:21 +0000 (11:48 +0200)
committerLionel Landwerlin <llandwerlin@gmail.com>
Mon, 29 Mar 2021 09:54:59 +0000 (11:54 +0200)
commit68bfb6ca49f27120ad604c159e0d21cf148b9050
tree4f3264ad062d2f91af86746aa189de713e71f503
parent11d2db17c522e5a123e781f001d7f75e9abe2bcd
etnaviv/drm: only print out fence error on non timeout

While looking at the traces emitted by chromium, I saw a lot of those
errors. But looking at the value of ns, it is 0, so it's probably just
the application checking whether work is done or not. Not much point
in printing out an error.

v2: check ret value (Christian)
    check both timeout codes (Lionel)

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9875>
src/etnaviv/drm/etnaviv_pipe.c