|author||Linus Torvalds <firstname.lastname@example.org>||2015-07-12 15:00:20 -0700|
|committer||Linus Torvalds <email@example.com>||2015-07-12 15:00:20 -0700|
Revert "drm/i915: Use crtc_state->active in primary check_plane func"
This reverts commit dec4f799d0a4c9edae20512fa60b0a36f3299ca2. Jörg Otte reports a NULL pointder dereference due to this commit, as 'crtc_state' very much can be NULL: crtc_state = state->base.state ? intel_atomic_get_crtc_state(state->base.state, intel_crtc) : NULL; So the change to test 'crtc_state->base.active' cannot possibly be correct as-is. There may be some other minimal fix (like just checking crtc_state for NULL), but I'm just reverting it now for the rc2 release, and people like Daniel Vetter who actually know this code will figure out what the right solution is in the longer term. Reported-and-bisected-by: Jörg Otte <firstname.lastname@example.org> Cc: Ander Conselvan de Oliveira <email@example.com> Cc: Jani Nikula <firstname.lastname@example.org> Cc: Daniel Vetter <email@example.com> CC: Maarten Lankhorst <firstname.lastname@example.org> Signed-off-by: Linus Torvalds <email@example.com>
Diffstat (limited to 'drivers/i2c/i2c-slave-eeprom.c')
0 files changed, 0 insertions, 0 deletions