[PATCH 0/2] [Maverick] boot frambuffer crash fixes

Andy Whitcroft apw at canonical.com
Thu Jul 29 15:48:19 UTC 2010


We have been having a heap of crashes during boot due to plymouth tickling
various bugs in the frambuffer and drm handling.  Basically the locking
is woeful in these two drivers and it is possible to open them before they
have completed initialising.  This leads to a bunch of random crashes in
various routines, open, mmap, close, etc.  These two patches attempt to
close up the locking in these such that the consumer has a fighting chance
to get to the buffer only when it is ready.

These are for Maverick.

-apw

Andy Whitcroft (2):
  UBUNTU: SAUCE: fbcon -- fix race between open and removal of
    framebuffers
  UBUNTU: SAUCE: drm -- stop early access to drm devices

 drivers/gpu/drm/drm_fops.c |    8 ++-
 drivers/gpu/drm/drm_stub.c |    6 ++-
 drivers/video/fbmem.c      |  132 ++++++++++++++++++++++++++++++++++----------
 include/linux/fb.h         |    2 +
 4 files changed, 116 insertions(+), 32 deletions(-)




More information about the kernel-team mailing list