drm/i915: Use the AUX_IO power domain only for eDP/PSR port
Imre Deak authored

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ä <ville.syrjala@linux.intel.com>
Signed-off-by: default avatarImre Deak <imre.deak@intel.com>
Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221114122251.21327-5-imre.deak@intel.com
b2e00dd3
Name Last commit Last update
Documentation Merge tag 'drm-intel-gt-next-2022-11-03' of git://anongit.freedesktop.org/drm/drm-intel into drm-next
LICENSES LICENSES/LGPL-2.1: Add LGPL-2.1-or-later as valid identifiers
arch Merge tag 'drm-next-20221025' of git://linuxtv.org/pinchartl/media into drm-next
block Merge tag 'block-6.1-2022-10-20' of git://git.kernel.dk/linux
certs certs: make system keyring depend on built-in x509 parser
crypto treewide: use get_random_bytes() when possible
drivers drm/i915: Use the AUX_IO power domain only for eDP/PSR port
fs Merge tag 'efi-fixes-for-v6.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi
include Merge tag 'amd-drm-next-6.2-2022-11-04' of https://gitlab.freedesktop.org/agd5f/linux into drm-next
init init: Kconfig: fix spelling mistake "satify" -> "satisfy"
io_uring io_uring/net: fail zc sendmsg when unsupported by socket
ipc Merge tag 'mm-nonmm-stable-2022-10-11' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
kernel kernel/utsname_sysctl.c: Fix hostname polling
lib Merge tag 'random-6.1-rc1-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/crng/random
mm mm/huge_memory: do not clobber swp_entry_t during THP split
net Merge tag 'io_uring-6.1-2022-10-22' of git://git.kernel.dk/linux
rust Kbuild: add Rust support
samples Merge tag 'vfio-v6.1-rc1' of https://github.com/awilliam/linux-vfio
scripts Merge tag 'kbuild-fixes-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
security selinux: enable use of both GFP_KERNEL and GFP_ATOMIC in convert_context()
sound Merge tag 'sound-fix-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
tools Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
usr usr/gen_init_cpio.c: remove unnecessary -1 values from int file
virt kvm: Add support for arch compat vm ioctls
.clang-format PCI/DOE: Add DOE mailbox support functions
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README
Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.