aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2019-03-05 21:38:30 +0000
committerChris Wilson <[email protected]>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 <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Tvrtko Ursulin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions