diff options
| author | 2026-06-09 12:52:37 +0300 | |
|---|---|---|
| committer | 2026-08-13 11:20:22 +0300 | |
| commit | f80c812804c3c07b891594cfc3db02326cba36aa (patch) | |
| tree | b48c9cae57d6d1ea1ac9e6bb1cc015dcf326e2e1 /scripts/Makefile.thinlto | |
| parent | drm/i915/display: harden masks in HSW_AUD_PIN_ELD_CP_VLD macros (diff) | |
drm/i915/display: harden shifts in ICL_DPCLKA_CFGCR0_DDI_CLK_SEL macros
ICL_DPCLKA_CFGCR0 has a 2-bit DDI_CLK_SEL field per combo PHY, for
PHY_A..PHY_D only. Any other phy value (PHY_NONE, TypeC/SNPS PHYs) is
not valid here.
This is not a problem with the current implementation, because phy is
always valid when these macros are called, but it's more robust to
cast to unsigned so the shift is always well-defined.
Reviewed-by: MichaĆ Grzelak <michal.grzelak@intel.com>
Link: https://patch.msgid.link/20260609095525.570614-3-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
