aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorAlban Browaeys <[email protected]>2012-02-24 17:12:45 +0000
committerJesse Barnes <[email protected]>2012-02-24 09:36:25 -0800
commitaed3f09db39596e539f90b11a5016aea4d8442e1 (patch)
tree62e3645dd8cc2be9f1fb4ca6a168f40d3c3c5898 /tools/perf/util/scripting-engines/trace-event-python.c
parentc0e2ee1bc0cf82eec89e26b7afe7e4db0561b7d9 (diff)
drm/i915: Prevent a machine hang by checking crtc->active before loading lut
Before loading the lut (gamma), check the active state of intel_crtc, otherwise at least on gen2 hang ensue. This is reproducible in Xorg via: xset dpms force off then xgamma -rgamma 2.0 # freeze. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44505 Signed-off-by: Alban Browaeys <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Reviewed-by: Jesse Barnes <[email protected]> Cc: [email protected] Signed-off-by: Jesse Barnes <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions