nv50,nvc0: Mark PIPE_QUERY_TIMESTAMP_DISJOINT as ready immediately
authorTiziano Bacocco <tizbac2@gmail.com>
Fri, 6 Feb 2015 18:03:41 +0000 (19:03 +0100)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 10 Feb 2015 13:02:17 +0000 (08:02 -0500)
commit1e02f2badfd925739099bcfaa55ca99a484470d8
tree08a49da6612fbaa6e5e38026e7fc16f9e110344d
parent09ee907266f315300a7856b55e50e74dce8e946f
nv50,nvc0: Mark PIPE_QUERY_TIMESTAMP_DISJOINT as ready immediately

Without this when an application issues that query, it would try to
wait the result from the gpu, and since no query has been actually
issued, it will wait forever.

Signed-off-by: Tiziano Bacocco <tizbac2@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nv50/nv50_query.c
src/gallium/drivers/nouveau/nvc0/nvc0_query.c