Bug 86145

Summary: Pipeline statistic counter values for VF always 0
Product: Mesa Reporter: Petri Latvala <petri.latvala>
Component: Drivers/DRI/i965Assignee: Ian Romanick <idr>
Status: VERIFIED FIXED QA Contact: Intel 3D Bugs Mailing List <intel-3d-bugs>
Severity: normal    
Priority: medium CC: ben
Version: git   
Hardware: All   
OS: All   
i915 platform: i915 features:

Description Petri Latvala 2014-11-11 11:23:16 UTC
The performance counter values for VF part of the pipeline (IA_VERTICES_COUNT, IA_PRIMITIVES_COUNT) are always 0. Gathering of these counters should be explicitly enabled in VF_STATE.

According to the specs, the same should apply to *_INVOCATION_COUNT counters, but those come out fine.

As a workaround, INTEL_DEBUG=stats enables the gathering.
Comment 1 Ben Widawsky 2014-11-13 18:49:50 UTC
Should be fixed by:
commit f14a35f9dc932a7aff80134cacfef60e73320e89
Author: Ben Widawsky <benjamin.widawsky@intel.com>
Date:   Wed Nov 12 18:49:16 2014 -0800

    i965: Always enable VF statistics
Comment 2 Petri Latvala 2014-11-14 08:49:40 UTC
Tested, indeed fixed.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.