i965: Use already existing eu_total
authorBen Widawsky <ben@bwidawsk.net>
Thu, 6 Jul 2017 00:04:16 +0000 (17:04 -0700)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 11 Jul 2017 15:14:57 +0000 (16:14 +0100)
commit25c1a7cc7aea7e9c95ef70116fafc9a14d837939
treec06e72c7e7493c6454c337e53ef05cd31c8203cb
parent618be8cc1ad1760103930b69ffbf528d7b861ab3
i965: Use already existing eu_total

Reduces IOCTL calls by 1, and provides a centralized place to override
such configurations if we have a need to do so.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/mesa/drivers/dri/i965/brw_performance_query.c