diff options
author | Imre Deak <imre.deak@intel.com> | 2022-11-14 14:22:47 +0200 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2022-11-18 17:28:42 +0200 |
commit | f645cbda12b80929d4f479fe33fff179fc1f7796 (patch) | |
tree | aec2ff991e92ec1d6fbb0c9ef178bee357f4c764 /lib/hweight.c | |
parent | b2e00dd378eed5274a043f6cdfd4f8e2731bb6b5 (diff) | |
download | linux-f645cbda12b80929d4f479fe33fff179fc1f7796.tar.gz |
drm/i915/tgl+: Enable display DC power states on all eDP ports
Starting with TGL eDP is supported on ports B+ (besides port A), so make
sure DC states are not blocked on any such ports. For this add an
AUX_IO_<port> power domain for each port with eDP support. These domains
similarly to AUX_IO_A enable only the AUX_IO_<port> power well for an
enabled port, whereas the existing AUX_<port> domains enable both the
AUX_IO_<port> and the DC_OFF power wells as required by DP AUX transfers.
v2: (Ville)
- Split the change using AUX vs. AUX_IO on port A to a separate patch.
- Select AUX_IO vs. AUX based on crtc_state->has_psr instead of
is_edp().
v3:
- Rebased on checking intel_encoder_can_psr() instead of crtc->has_psr.
v4:
- Fix warn in intel_display_power_aux_io_domain(). (Ville)
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-6-imre.deak@intel.com
Diffstat (limited to 'lib/hweight.c')
0 files changed, 0 insertions, 0 deletions