aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2014-01-10 11:28:09 +0200
committerDaniel Vetter <[email protected]>2014-01-24 17:22:42 +0100
commit7d00a1f574842270515270ff27b86acde4e3d3c1 (patch)
treed12c47fc9247f2508836bdc485aa3750df4991a7 /tools/perf/scripts/python/net_dropmonitor.py
parent2f2d7aa15499aaa8fb43c88f150e00923b0e0fee (diff)
drm/i915: Don't oops if the initial modeset fails
If the first modeset operation fails, we will attempt to restore the previous configuration that we read out from the hardware. But as we don't yet reconstruct the framebuffer information, we end up calling the modeset code with an enabled crtc but with fb==NULL. This will lead to an oops within the modeset code. Check for NULL fb when restoring the configuration, and instead of oopsing simply disable the pipe. Signed-off-by: Ville Syrjälä <[email protected]> Reviewed-by: Imre Deak <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions