diff options
| author | Imre Deak <[email protected]> | 2022-11-14 12:22:47 +0000 |
|---|---|---|
| committer | Imre Deak <[email protected]> | 2022-11-18 15:28:42 +0000 |
| commit | f645cbda12b80929d4f479fe33fff179fc1f7796 (patch) | |
| tree | aec2ff991e92ec1d6fbb0c9ef178bee357f4c764 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | drm/i915: Use the AUX_IO power domain only for eDP/PSR port (diff) | |
| download | kernel-f645cbda12b80929d4f479fe33fff179fc1f7796.tar.gz kernel-f645cbda12b80929d4f479fe33fff179fc1f7796.zip | |
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ä <[email protected]>
Signed-off-by: Imre Deak <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
