diff options
| author | Suraj Kandpal <suraj.kandpal@intel.com> | 2025-09-08 09:52:08 +0530 |
|---|---|---|
| committer | Suraj Kandpal <suraj.kandpal@intel.com> | 2025-09-22 09:38:44 +0530 |
| commit | c8e8e9ab14a6ea926641d161768e1e3ef286a853 (patch) | |
| tree | a4d8da2cff2e71beb53604de963f9d0ab760d8c3 /tools/perf/scripts/python | |
| parent | 50720b6708010333a857ff572ff9e4387ba0fd1a (diff) | |
| download | linux-c8e8e9ab14a6ea926641d161768e1e3ef286a853.tar.gz linux-c8e8e9ab14a6ea926641d161768e1e3ef286a853.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 <suraj.kandpal@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://lore.kernel.org/r/20250908042208.1011144-1-suraj.kandpal@intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
