diff options
| author | Ville Syrjälä <[email protected]> | 2013-02-18 19:08:49 +0200 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2013-02-20 01:33:43 +0100 |
| commit | 96a02917a0131e52efefde49c2784c0421d6c439 (patch) | |
| tree | 92232f7bfdf0db5796b4923722771d9d98074fe2 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 4878cae22a2405b6d33318e2dc99a9c1367fee44 (diff) | |
drm/i915: Finish page flips and update primary planes after a GPU reset
GPU reset will drop all flips that are still in the ring. So after the
reset, call update_plane() for all CRTCs to make sure the primary
planes are scanning out from the correct buffer.
Also finish all pending flips. That means user space will get its
page flip events and won't get stuck waiting for them.
v2: Explicitly finish page flips instead of relying on FLIP_DONE
interrupt being generated by the base address update.
v3: Make two loops over crtcs to avoid deadlocks with the crtc mutex
Signed-off-by: Ville Syrjälä <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
[danvet: Fixup long line complaint from checkpatch.]
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions