[PATCH 2/3] drm/fb_helper: Fix references to dev->mode_config.num_connector

2016-05-05 Thread Lyude Paul
I would Cc it to stable just in case tbh. I picked up on this one since KASAN was picking up on some of the memcpy() calls around here going out of bounds. I can include some of the backtraces from that if needed. On Wed, 2016-05-04 at 19:11 +0200, Daniel Vetter wrote: > On Wed, May 04, 2016 at 11

[PATCH 2/3] drm/fb_helper: Fix references to dev->mode_config.num_connector

2016-05-04 Thread Daniel Vetter
On Wed, May 04, 2016 at 11:28:52AM -0400, Lyude wrote: > During boot, MST hotplugs are generally expected (even if no physical > hotplugging occurs) and result in DRM's connector topology changing. > This means that using num_connector from the current mode configuration > can lead to the number of

[PATCH 2/3] drm/fb_helper: Fix references to dev->mode_config.num_connector

2016-05-04 Thread Lyude
During boot, MST hotplugs are generally expected (even if no physical hotplugging occurs) and result in DRM's connector topology changing. This means that using num_connector from the current mode configuration can lead to the number of connectors changing under us. This can lead to some nasty scen