Skip to content

Important MST fixes for 4.6

Lyude intel-gfx 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/24 patches 1 replyIn review
  2. v1 posting 1/23 patches 4 repliesApplied

Patches in v1 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/i915/fbdev: Fix num_connector references in intel_fb_initial_config()drivers/gpu/drm/i915/intel_fbdev.c+3 -30 replies
2/4drm/fb_helper: Fix references to dev->mode_config.num_connectordrivers/gpu/drm/drm_fb_helper.c+2 -22 replies
3/4drm/i915: Discard previous atomic state on resume if connectors changedrivers/gpu/drm/i915/intel_display.c+12 -00 replies
4/4drm/atomic: Verify connector->funcs != NULL when clearing statesdrivers/gpu/drm/drm_atomic.c+2 -11 reply
4/4drm/atomic: Verify connector->funcs != NULL when clearing statesdrivers/gpu/drm/drm_atomic.c+1 -10 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchDaniel Vetter
1/4
2/4R-b
3/4
4/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RESEND] [PATCH 0/4] Important MST fixes for 4.6

Unfortunately we've never really made use of creating/destroying connectors on the fly like we have with MST, so 4.6 ended up showing a lot of various bugs with hotplugging MST displays, booting with MST displays, etc. Most of these bugs are very likely to panic the kernel, and a couple of them end up even doing out of bounds memory accesses causing all sorts of other issues. This being said; we currently have a much better solution that makes a few of these patches unneccessary: dave's connector reference counting patch series[1]. For the time being however, this is the most minimal patchset I could come up with for 4.6 to work around all of these issues.

[1]: b164d31f50b2923a7a92c2a40cb46973a6ba8c36 in drm-next

Lyude (4):
drm/i915/fbdev: Fix num_connector references in
intel_fb_initial_config()
drm/fb_helper: Fix references to dev->mode_config.num_connector drm/i915: Discard previous atomic state on resume if connectors change drm/atomic: Verify connector->funcs != NULL when clearing states

 drivers/gpu/drm/drm_atomic.c         |  3 ++-
 drivers/gpu/drm/drm_fb_helper.c      |  4 ++--
 drivers/gpu/drm/i915/intel_display.c | 12 ++++++++++++
 drivers/gpu/drm/i915/intel_fbdev.c   |  6 +++---
 4 files changed, 19 insertions(+), 6 deletions(-)

This hasn't been sent to [email protected] yet, just sending this to intel-gfx for review beforehand.

Signature · 6 lines
2.5.5

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx