aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2020-02-04 16:01:43 +0100
committerDaniel Vetter <[email protected]>2020-02-11 15:03:08 +0100
commit64914da24ea95d2b2f7017d014d74c26005d8780 (patch)
treed7f18bc971c75b7843a22dd99ac75bab68b56db0 /tools/perf/scripts/python
parente81a2557e0650ee0ce37ba14476ddb709d6daf57 (diff)
drm/fbdev-helper: don't force restores
Instead check for master status, in case we've raced. This is the last exception to the general rule that we restore fbcon only when there's no master active. Compositors are supposed to drop their master status before they switch to a different console back to text mode (or just switch to text mode directly, without a vt switch). This is known to break some subtests of kms_fbcon_fbt in igt, but they're just wrong - it does a graphics/text mode switch for the vt without updating the master status. Also add a comment to the drm_client->restore hook that this is expected going forward from all clients (there's currently just one). v2: Also drop the force in pan_display v3: Restore the _force to pan_display, this actually means _locked in that path. Spotted by Noralf. Cc: Noralf Trønnes <[email protected]> Reviewed-by: Noralf Trønnes <[email protected]> Tested-by: Thomas Zimmermann <[email protected]> Acked-by: Thomas Zimmermann <[email protected]> Signed-off-by: Daniel Vetter <[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