aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2012-10-17 11:32:55 +0200
committerDaniel Vetter <[email protected]>2012-10-17 22:36:29 +0200
commitf81183f76a46c654709dc9b3a1af6fb4c7fc8a46 (patch)
tree84490f311593719f8053a9f04301fc0518c5ca0a /tools/perf/scripts/python/event_analyzing_sample.py
parent7346bfa00d09633996941644988b14c4f7c1c9d2 (diff)
drm/i915: don't save/restore DP regs for kms
We completely compute these anew in each modeset, hence we don't rely on them containing anything valid after resume. To avoid breaking any ums setup due to reordering of the reads/writes simply don't reorder anything, but bracket the reads/writes into if (!kms) conditionals. More churn, but safer. v2: Fixup the logic, noticed by Paulo Zanoni. Reviewed-by: Paulo Zanoni <[email protected]> Tested-by: Paulo Zanoni <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions