diff options
| author | Suraj Kandpal <[email protected]> | 2025-09-08 04:22:08 +0000 |
|---|---|---|
| committer | Tvrtko Ursulin <[email protected]> | 2025-09-23 07:52:18 +0000 |
| commit | 7f97a0a871d9532f2e1a5ee7d16d0e364215bcac (patch) | |
| tree | c547cd09a17128713dc3dd5941e15d24dae34cca /lib/memory-notifier-error-inject.c | |
| parent | drm/i915: set O_LARGEFILE in __create_shmem() (diff) | |
| download | kernel-7f97a0a871d9532f2e1a5ee7d16d0e364215bcac.tar.gz kernel-7f97a0a871d9532f2e1a5ee7d16d0e364215bcac.zip | |
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: 6671c367a9bea ("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 c8e8e9ab14a6ea926641d161768e1e3ef286a853)
Signed-off-by: Tvrtko Ursulin <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
