diff options
author | Jani Nikula <jani.nikula@intel.com> | 2021-01-20 12:18:31 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2021-01-21 13:26:13 +0200 |
commit | 97b70144b2502a86ba536924b3b937ba4928f6c4 (patch) | |
tree | a38e951c502a0f1f93e8b7efea1216aa5d15098d /drivers/gpu/drm/i915/display/intel_dpll.c | |
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 <anshuman.gupta@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210120101834.19813-1-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dpll.c')
0 files changed, 0 insertions, 0 deletions