diff options
author | Chris Wilson <[email protected]> | 2017-01-15 12:58:25 +0000 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2017-01-25 12:41:00 +0200 |
commit | b78671591a10218ab18bbea120fd05df7a002e88 (patch) | |
tree | 3dc495544fa4c5080ff973e47c55fd858896024c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 3bfdfdcbce2796ce75bf2d85fd8471858d702e5d (diff) |
drm/i915: Avoid drm_atomic_state_put(NULL) in intel_display_resume
intel_display_resume() may be called without an atomic state to restore,
i.e. dev_priv->modeset_reset_restore state is NULL. One such case is
following a lid open/close event and the forced modeset in
intel_lid_notify().
Reported-by: Stefan Seyfried <[email protected]>
Tested-by: Stefan Seyfried <[email protected]>
Fixes: 0853695c3ba4 ("drm: Add reference counting to drm_atomic_state")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Jani Nikula <[email protected]>
Cc: <[email protected]> # v4.10-rc1+
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Ander Conselvan de Oliveira <[email protected]>
(cherry picked from commit 3c5e37f169cb67cbd03c6116fbc93e0805815d29)
Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions