aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2013-11-27 12:01:32 +0000
committerDaniel Vetter <[email protected]>2013-11-27 13:37:18 +0100
commit947fdaadf05480e567d3cd58d456240655063d03 (patch)
tree3ee8dac8fb21a8af048577dd730d083589ceccb0 /tools/perf/scripts/python/event_analyzing_sample.py
parent1da51581b00b3fc3ac72156e2a69c6bab71f7794 (diff)
drm/i915: Do not attempt to re-enable an unconnected primary plane
Due to user fudging (for instance using video=VGA-1:e with FBDEV=n) we can attempt to reset an inconsistent CRTC that is marked as active but has no assigned fb. It would be wise to fix this earlier, but the long term plan is to have primary and secondary planes associated with a CRTC, in which crtc->fb being NULL will be expected. So for a quick short term fix with pretensions of grandeur, just check for a NULL fb during GPU reset and ignore the plane restoration. This fixes a potential hard hang (a panic in the panic handler) following a GPU hang. Signed-off-by: Chris Wilson <[email protected]> Cc: Daniel Vetter <[email protected]> [danvet: Add a corresponding fixme comment.] 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