i965: perf: cleanup detection of kernel support for loadable configs
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 6 Feb 2018 23:28:24 +0000 (23:28 +0000)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 8 Feb 2018 10:52:14 +0000 (10:52 +0000)
commite8436677339d65449bdabefd3ed8bb5a65f13d46
tree06805a71cdf3e72510dddb78054fb019b72e551c
parentbd6c0cab606fa0a3b821e50542ba06ff714292bf
i965: perf: cleanup detection of kernel support for loadable configs

The initial revision of the patch adding loadable configs was testing
the feature's availability by adding a new config successfully and
then removing it.

A second version tested the availability just by exercising the
removal. But some unused code remained.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/mesa/drivers/dri/i965/brw_performance_query.c