i965/iris: fix crash when calling GetPerfQueryDataINTEL
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 24 Mar 2020 14:54:32 +0000 (16:54 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 24 Mar 2020 22:54:12 +0000 (22:54 +0000)
commitba56684a14101820a8f8d6ebf8682e12a383288d
tree982f006634d71b16d8b25362eec3b5bd1a5c1199
parent8a3e2cd9b26beb4d57ea417c4528e22c00c92126
i965/iris: fix crash when calling GetPerfQueryDataINTEL

On a query that was never begun.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4302>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4302>
src/mesa/main/performance_query.c