i965/perf: restore mdapi statistics query metrics
authorMark Janes <mark.a.janes@intel.com>
Sat, 3 Aug 2019 01:19:01 +0000 (18:19 -0700)
committerMark Janes <mark.a.janes@intel.com>
Thu, 8 Aug 2019 00:20:04 +0000 (17:20 -0700)
commita29bc3a3adf0626fabb083a572a0d1fee5f2a1ee
tree257c073b7ce86fce34aca3386d46155a285bf87c
parentc0376a123418df0050dc45d3e1e84f6b29a6a1f3
i965/perf: restore mdapi statistics query metrics

Registration of mdapi metrics based on statistics query registers was
inadvertently removed in the commit that checks for OA kernel support.

The statistics queries are not dependent on OA.

Fixes: 96e1c945f2b ("i965: Move device info initialization to common code")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/mesa/drivers/dri/i965/brw_performance_query.c