diff options
| author | Hanson Wang <hanson.wang@ugreen.com> | 2026-11-06 18:23:15 +0800 |
|---|---|---|
| committer | Joonas Lahtinen <joonas.lahtinen@linux.intel.com> | 2026-11-16 11:12:07 +0200 |
| commit | 715f145f6204363a50853eb15719dc860db0bc01 (patch) | |
| tree | 66079994018d5a7e4054e4e172478610180f8f25 /tools/perf/scripts/python/bin | |
| parent | 9e7a9295c90e28e1bb6e88b76aaa91839266352b (diff) | |
drm/i915/dsb: Realign GOSUB only for QW slots 6 and 7
intel_dsb_gosub_align() moves free_pos to the next cacheline
unconditionally, but only clears the skipped bytes when at most two
QW slots remain. Wa_16024917128 forbids GOSUB in slots 6 and 7 only.
A larger gap is still executed. A Panther Lake DSB dump showed
nonzero data in that gap, with the tail at 0x58 and GOSUB at 0x80.
Advance free_pos only when the instruction would land in slot 6 or 7,
and fill that gap with NOPs. Emit GOSUB in place for every other slot.
intel_dsb_align_tail() still clears the rest of the cacheline.
Update free_pos inside the existing gap check in intel_dsb_align_tail()
as well, so the two helpers keep the same shape.
Fixes: 2c41d62f6fb1 ("drm/i915/dsb: Implement intel_dsb_gosub()")
Cc: stable@vger.kernel.org # v6.17+
Signed-off-by: Hanson Wang <hanson.wang@ugreen.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/20261106102315.1361645-1-hanson.wang@ugreen.com
(cherry picked from commit a2f5df6c5468b4f65e58c4125bba3f0e3cdc6aa1)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
