aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2015-03-26 22:18:40 +0100
committerDaniel Vetter <[email protected]>2015-03-27 14:45:31 +0100
commit4218a32f55fc71983e4c1c6e5b98b28db8226b3b (patch)
tree0f463cb777b0e4f7c50a5897376a8322ddd4dfc6 /tools/perf/util/trace-event-scripting.c
parent27798365a60eaa61d8d9010466ffd57368b98ba9 (diff)
drm/atomic-helpers: Properly avoid full modeset dance
Legacy setCrtc has a nice fastpath for just updating the frontbuffer when the output routing doesn't change. Which I of course tried to keep working, except that I fumbled the job: The helpers correctly compute ->mode_changed, CRTC updates get correctly skipped but connector functions are called unconditionally. Fix this. v2: For the disable sided connector->state->crtc might be NULL. Instead look at the old_connector_state->crtc, but still use the new crtc state for that old crtc. Reported by Thierry. Reported-and-Tested-by: Gustavo Padovan <[email protected]> Reviewed-by: Gustavo Padovan <[email protected]> (v1) Cc: Thierry Reding <[email protected]> Cc: Gustavo Padovan <[email protected]> (v1) Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions