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

Leann Ogasawara leann.ogasawara at canonical.com
Fri Jul 30 00:18:16 UTC 2010


Applied to Maverick linux master.

Thanks,
Leann

On Thu, 2010-07-29 at 16:48 +0100, Andy Whitcroft wrote:
> 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