diff options
author | Chris Wilson <[email protected]> | 2016-05-23 15:08:10 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2016-05-23 16:35:50 +0100 |
commit | 03d92e4779b82e03f3fbf6631156eb0727fc75d4 (patch) | |
tree | 0912a60f65030869ab9d2005a30cb2e73e9adeb9 /tools/perf/scripts/python/sched-migration.py | |
parent | 6f9f4b7a2cf7c5047f4d31bb00b0a48fb0a674e3 (diff) |
drm/i915/opregion: Rename init/fini functions to register/unregister
Current intel_opregion_init is called during the driver registration
phase and intel_opregion_fini from the unregistration phase. Rename the
functions so that this is clear from their names. The phases tell us
what we expect the existing hw state to be, e.g. whether interrupts are
still enabled etc.
It should be noted that the opregion init/fini routines are asymmetric
and this is carried across into their new names. Indeed, their new names
make it even clearer that perhaps all is not well in the opregion
suspend/resume sequence (as well in the module unload).
Signed-off-by: Chris Wilson <[email protected]>
Cc: Jani Nikula <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Jani Nikula <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions