boot frambuffer crash fixes
Applied to Maverick linux master.
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.
> Andy Whitcroft (2):
> UBUNTU: SAUCE: fbcon -- fix race between open and removal of
> 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(-)
kernel-team mailing list