diff options
| author | Samasth Norway Ananda <samasth.norway.ananda@oracle.com> | 2026-03-16 16:19:19 -0700 |
|---|---|---|
| committer | Jani Nikula <jani.nikula@intel.com> | 2026-03-18 12:09:27 +0200 |
| commit | 4ab0f09ee73fc853d00466682635f67c531f909c (patch) | |
| tree | a8bc4320568559e9d6adf71a52e17a9f0b2beaf5 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 0fb03890d18205ec0909fc47049eceae8ba36457 (diff) | |
drm/i915/gmbus: fix spurious timeout on 512-byte burst reads
When reading exactly 512 bytes with burst read enabled, the
extra_byte_added path breaks out of the inner do-while without
decrementing len. The outer while(len) then re-enters and gmbus_wait()
times out since all data has been delivered. Decrement len before the
break so the outer loop terminates correctly.
Fixes: d5dc0f43f268 ("drm/i915/gmbus: Enable burst read")
Signed-off-by: Samasth Norway Ananda <samasth.norway.ananda@oracle.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patch.msgid.link/20260316231920.135438-2-samasth.norway.ananda@oracle.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
