aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorImre Deak <[email protected]>2022-11-14 12:22:46 +0000
committerImre Deak <[email protected]>2022-11-18 15:28:31 +0000
commitb2e00dd378eed5274a043f6cdfd4f8e2731bb6b5 (patch)
tree9afbae42fcff341b5c790f8f98fca8478dc94050 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentdrm/i915: Move the POWER_DOMAIN_AUX_IO_A definition to its logical place (diff)
downloadkernel-b2e00dd378eed5274a043f6cdfd4f8e2731bb6b5.tar.gz
kernel-b2e00dd378eed5274a043f6cdfd4f8e2731bb6b5.zip
drm/i915: Use the AUX_IO power domain only for eDP/PSR port
Use the AUX_IO_A display power domain only for eDP on port A where PSR is also supported. This is the case where DC states need to be enabled while the output is enabled - ensured by AUX_IO_A domain not enabling the DC_OFF power well. Otherwise port A can be treated the same way as other ports with an external DP output: using the AUX_<port> domain which disables the unrequired DC states. This change prepares for the next patch enabling DC states on all ports supporting eDP/PSR besides port A. v2: - Check the encoder PSR capability instead of PSR being enabled in the crtc_state, as the latter can be changed with a fastset. 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