diff options
| author | 2026-06-09 12:52:39 +0300 | |
|---|---|---|
| committer | 2026-08-13 11:20:22 +0300 | |
| commit | 5655c87693f6a6006208197a4e3cb29f1253087f (patch) | |
| tree | 1279baa0374c01cd3ccc53b6f610deee4fb4d9c7 /scripts/Makefile.thinlto | |
| parent | drm/i915/display: harden shift in intel_ddi_compute_config_late() (diff) | |
drm/i915/display: remove unnecessary PHY_NONE definition
PHY_NONE is not really used, but we define it and, thus, need to check
for it in a few places we use phy. The only potential places where
phy may become PHY_NONE, is in intel_port_to_phy(), where it derives
from port, which can be PORT_NONE. Many of its callers don't check
for PHY_NONE, which can cause unknown behavior. Additionally, this
can only happen if the encoder used has PORT_NONE, which should not be
the case either, without unexpected consequences.
Remove the PHY_NONE definition entirely and add a couple of WARNs at
the relevant places, just to be sure.
Reviewed-by: MichaĆ Grzelak <michal.grzelak@intel.com>
Link: https://patch.msgid.link/20260609095525.570614-5-luciano.coelho@intel.com
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
