diff options
author | Imre Deak <imre.deak@intel.com> | 2022-11-14 14:22:50 +0200 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2022-11-18 17:29:07 +0200 |
commit | 637c7aa261acd820252b1fb99c03e41e86c68fb5 (patch) | |
tree | ce26ce85a1198d597dbc7980b480026e049c71ca /lib/test_fortify/write_overflow_field-memcpy.c | |
parent | 406a95df61a87813f065f4a6f1fb570834a8db4d (diff) |
drm/i915: Factor out function to get/put AUX_IO power for main link
Factor out functions to get/put the AUX_IO power domain for the main
link on DDI ports.
While at it clarify the corresponding code comment.
No functional change.
v2:
- s/(get/put)_aux_power_for_main_link/main_link_aux_power_domain_(get/put)
(Jani)
- Clarify in the code comment that AUX_IO is needed only by TypeC besides
eDP/PSR.
v3:
- Rebased on checking intel_encoder_can_psr() instead of crtc->has_psr.
v4:
- Don't call fetch_and_zero() with side-effect during variable
declaration. (Ville)
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221114122251.21327-9-imre.deak@intel.com
Diffstat (limited to 'lib/test_fortify/write_overflow_field-memcpy.c')
0 files changed, 0 insertions, 0 deletions