diff options
author | Ville Syrjälä <[email protected]> | 2014-11-21 21:00:36 +0200 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2014-12-03 09:29:34 +0100 |
commit | b9950a133f8bcfbe30ad11ae27ed75668fffe5cd (patch) | |
tree | f9cbe9f14101c20949a8267c91c6287ef2aed0b8 /tools/perf/scripts/python/syscall-counts.py | |
parent | 4fcd01d0f34645710ac92d5523e26019428b0806 (diff) |
drm/i915: Don't clobber crtc->new_config when nothing changes
When doing a nop modeset we currently leave crtc->new_config point at
the already freed temporary pipe_config. That will anger the sanity
checks in intel_modeset_update_state() when the nop modeset gets
followed by a GPU reset on gen3/4 where the display block gets fully
reinitialized during the reset.
So leave crtc->new_config alone until we know a modeset is actually
required.
Cc: Jesse Barnes <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Reviewed-by: Jesse Barnes <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions