diff options
| author | 2026-06-09 12:52:36 +0300 | |
|---|---|---|
| committer | 2026-08-13 11:20:22 +0300 | |
| commit | e26c92e712724e46ab707110a1bc379980f8d573 (patch) | |
| tree | b9621fc7fd572d637d520c771ae542b8152d7bf7 /scripts/Makefile.thinlto | |
| parent | drm/i915/lt_phy: program DDI_CLK_VALFREQ with DDI clock frequency (diff) | |
drm/i915/display: harden masks in HSW_AUD_PIN_ELD_CP_VLD macros
HSW_AUD_PIN_ELD_CP_VLD has a 4-bit field per transcoder for
TRANSCODER_A..TRANSCODER_D only (bits 0..15). Any other transcoder
value (TRANSCODER_EDP, TRANSCODER_DSI_*, INVALID_TRANSCODER) is not
valid here.
This is not a problem with the current implementation, because trans
is always valid when these macros are called, but it's more robust to
mask the index to the low 2 bits so the shift is always well-defined.
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: MichaĆ Grzelak <michal.grzelak@intel.com>
Link: https://patch.msgid.link/20260609095525.570614-2-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
