diff options
author | Ander Conselvan de Oliveira <[email protected]> | 2017-01-20 16:28:45 +0200 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2017-01-25 12:42:50 +0200 |
commit | 6d1d427a4e24c403b4adf928d61994bdaa0ca03a (patch) | |
tree | 5c33ee9076e10ee4258fd3049c56f4d431e5dc33 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 3781bd6e7d64d5f5bea9fdee11ab9460a700c0e4 (diff) |
drm/i915: Check for NULL atomic state in intel_crtc_disable_noatomic()
In intel_crtc_disable_noatomic(), bail on a failure to allocate an
atomic state to avoid a NULL pointer dereference.
Fixes: 4a80655827af ("drm/i915: Pass atomic state to crtc enable/disable functions")
Cc: Maarten Lankhorst <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Jani Nikula <[email protected]>
Cc: [email protected]
Cc: <[email protected]> # v4.9+
Signed-off-by: Ander Conselvan de Oliveira <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/1484922525-6131-4-git-send-email-ander.conselvan.de.oliveira@intel.com
(cherry picked from commit 31bb2ef97ea9db343348f9b5ccaa9bb6f48fc655)
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