etnaviv: move sw get_driver_query_info(..)
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Tue, 19 Sep 2017 16:16:04 +0000 (18:16 +0200)
committerChristian Gmeiner <christian.gmeiner@gmail.com>
Wed, 20 Sep 2017 12:25:13 +0000 (14:25 +0200)
commita3d79946e5d815a40a448e7d473dd68b91d1c635
tree28021ad4da270cb38049ae8e91342395a5e42fb7
parent65a09f98ad1411982ce68de7a2d05942d608e674
etnaviv: move sw get_driver_query_info(..)

This change makes etna_get_driver_query_info(..) more generic
and puts the knowledge of supported queries directly besides
the implementation.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Wladimir J. van der Laan <laanwj@gmail.com>
src/gallium/drivers/etnaviv/etnaviv_query.c
src/gallium/drivers/etnaviv/etnaviv_query_sw.c
src/gallium/drivers/etnaviv/etnaviv_query_sw.h