i965/drm: Fold drm_bacon_gem_reset_stats into the callers.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 4 Apr 2017 00:44:57 +0000 (17:44 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 10 Apr 2017 21:32:19 +0000 (14:32 -0700)
commit4cb3e4429d3868ffa2078e4cf772578418028ed1
tree08f7a47bad70da7af1eaeb1fa8a41416d1546a4b
parent414c9343a263c4900287451bd1c8ae09973fbffa
i965/drm: Fold drm_bacon_gem_reset_stats into the callers.

We're going to get rid of drm_bacon_context shortly, so we'd have to
change the interface slightly.  It's basically just an ioctl wrapper
that isn't terribly bufmgr-related, so We may as well just combine it
with the code in brw_reset.c that actually uses it.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_bufmgr.h
src/mesa/drivers/dri/i965/brw_reset.c
src/mesa/drivers/dri/i965/intel_bufmgr_gem.c