Files
linux/drivers/gpu/drm/i915
Suraj Kandpal 7f97a0a871 drm/i915/ddi: Guard reg_val against a INVALID_TRANSCODER
Currently we check if the encoder is INVALID or -1 and throw a
WARN_ON but we still end up writing the temp value which will
overflow and corrupt the whole programmed value.

--v2
-Assign a bogus transcoder to master in case we get a INVALID
TRANSCODER [Jani]

Fixes: 6671c367a9 ("drm/i915/tgl: Select master transcoder for MST stream")
Signed-off-by: Suraj Kandpal <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
(cherry picked from commit c8e8e9ab14)
Signed-off-by: Tvrtko Ursulin <[email protected]>
2025-09-23 08:52:18 +01:00
..
2024-12-30 01:31:31 +01:00
2025-02-18 01:25:31 +02:00
2025-06-25 10:23:16 +03:00
…