diff options
author | Jani Nikula <[email protected]> | 2021-01-20 12:18:31 +0200 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2021-01-21 13:26:13 +0200 |
commit | 97b70144b2502a86ba536924b3b937ba4928f6c4 (patch) | |
tree | a38e951c502a0f1f93e8b7efea1216aa5d15098d /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 7c553f8b5a7dcf45f7a06da23b45e431aafbbdba (diff) |
drm/i915/pps: refactor init abstractions
Once you realize there is no need to hold the pps mutex when calling
pps_init_timestamps() in intel_pps_init(), we can reuse
intel_pps_encoder_reset() which has the same code.
Since intel_dp_pps_init() is only called from one place now, move it
inline to remove one "init" function altogether.
Finally, remove some initialization from
vlv_initial_power_sequencer_setup() and do it in the caller to highlight
the similarity, not the difference, in the platforms.
v2: Fix comment (Anshuman)
Reviewed-by: Anshuman Gupta <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions