summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-03-05 21:38:30 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2019-03-06 10:00:50 +0000
commit103b76eeff2e86cad489a54e6003d0173df76bde (patch)
treea33db60570ef59918a2b2fb9c62532c075e2844a /tools/perf/scripts/python
parentd846325ad0e5cd06f441299cdbec6ab8ba3a3c45 (diff)
drm/i915: Use i915_global_register()
Rather than manually add every new global into each hook, use i915_global_register() function and keep a list of registered globals to invoke instead. However, I haven't found a way for random drivers to add an .init table to avoid having to manually add ourselves to i915_globals_init() each time. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20190305213830.18094-1-chris@chris-wilson.co.uk Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions