diff options
| author | Andrzej Hajda <[email protected]> | 2023-01-27 16:30:02 +0100 |
|---|---|---|
| committer | Ville Syrjälä <[email protected]> | 2023-01-30 16:54:02 +0200 |
| commit | 9d691c197631f152d7dc6788098f372b64d3bc43 (patch) | |
| tree | bc25d4b1b2cdb71dfcb9f9f1d3f581714662a49e /tools/perf/scripts/python/task-analyzer.py | |
| parent | c22cf04c6ab1d9ad5be2ec36e9822bc45526e8ca (diff) | |
drm/i915: implement async_flip mode per plane tracking
Current implementation of async flip w/a relies on assumption that
previous atomic commit contains valid information if async_flip is still
enabled on the plane. It is incorrect. If previous commit did not modify
the plane its state->uapi.async_flip can be false. As a result DMAR/PIPE
errors can be observed:
i915 0000:00:02.0: [drm] *ERROR* Fault errors on pipe A: 0x00000080
i915 0000:00:02.0: [drm] *ERROR* Fault errors on pipe A: 0x00000080
DMAR: DRHD: handling fault status reg 2
DMAR: [DMA Read NO_PASID] Request device [00:02.0] fault addr 0x0 [fault reason 0x06] PTE Read access is not set
v2: update async_flip_planes in more reliable places (Ville)
v3: reset async_flip_planes and do_async_flip in more scenarios (Ville)
v4: move all resets to plane loops (Ville)
Signed-off-by: Andrzej Hajda <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions