diff options
| author | Ville Syrjälä <[email protected]> | 2024-04-30 12:56:37 +0300 |
|---|---|---|
| committer | Ville Syrjälä <[email protected]> | 2024-05-03 13:13:51 +0300 |
| commit | 7c800d957173298a5c80576db7384ebfe6efc10c (patch) | |
| tree | 9ad04bfb573c60ad813895d53111c274f2a5f6da /tools/perf/scripts/python | |
| parent | 4df0f2ed25735e7da5a9015befda5199fe6fec73 (diff) | |
drm/i915: Allow the initial async flip to change modifier
With Xorg+modesetting on skl+ we see the following behaviour:
1. root pixmap is X-tiled
2. client submitted buffers can be Y-tiled (w/ 'Option "dmabuf_capable"')
3. we try to switch from the X-tiled buffer to the Y-tiled buffer
using an async flip (when vsync is disabled).
4. the async flip will be rejected by i915 due to the modifier change
Relax the rules a bit by turning the first async flip into a sync
flip so that we can change the modifier if necessary. Note that
we already convert the first async flip into a sync flip on adl+
in order to reprogram the watermarks.
Reviewed-by: Vandita Kulkarni <[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')
0 files changed, 0 insertions, 0 deletions