Chris Wilson 103b76eeff 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>
2019-03-06 10:00:50 +00:00
..
2019-01-09 10:26:36 +02:00
2018-11-20 12:49:24 +02:00
2019-01-24 13:20:42 +01:00
2018-03-08 10:07:18 +00:00
2019-02-05 09:43:23 -08:00
2019-02-04 14:42:34 +10:00
2019-02-26 19:54:48 +02:00
2019-02-04 14:42:34 +10:00
2019-02-05 09:43:23 -08:00
2019-02-05 09:43:23 -08:00
2019-02-18 13:27:15 +10:00
2019-02-05 09:43:23 -08:00