INTEL_performance_query Restored For Intel's Mesa Driver
There was some work years ago for supporting Intel's own INTEL_performance_query OpenGL extension it was dropped in January for a rework and now is back in Mesa 17.1-devel.
INTEL_performance_query has been part of the Khronos OpenGL registry since 2013 and was an Intel-created extension for exposing "Intel proprietary hardware performance counters to OpenGL applications." These performance counters would show hardware events, duration of certain activities, and more. Initial Linux support for this extension came to Intel's Mesa driver in May of 2014 but was dropped at the beginning of this year due to a code rework.
With today's Git code, an INTEL_performance_query back-end was implemented for exposing pipeline statistics for those wanting to use this OpenGL extension over the other alternative ways for reading GPU performance counters and performance profiling data.
This current back-end exposes 64-bit pipeline statistics registers for Gen 6 graphics and newer along with observability counters to be added later for Gen 7.5+ hardware.
INTEL_performance_query has been part of the Khronos OpenGL registry since 2013 and was an Intel-created extension for exposing "Intel proprietary hardware performance counters to OpenGL applications." These performance counters would show hardware events, duration of certain activities, and more. Initial Linux support for this extension came to Intel's Mesa driver in May of 2014 but was dropped at the beginning of this year due to a code rework.
With today's Git code, an INTEL_performance_query back-end was implemented for exposing pipeline statistics for those wanting to use this OpenGL extension over the other alternative ways for reading GPU performance counters and performance profiling data.
This current back-end exposes 64-bit pipeline statistics registers for Gen 6 graphics and newer along with observability counters to be added later for Gen 7.5+ hardware.
Add A Comment