[patch 2/2] drm: avoid switching to text console if there is no panic timeout

2011-11-15 Thread a...@linux-foundation.org
From: Hugh Dickins Subject: drm: avoid switching to text console if there is no panic timeout Add a check for panic_timeout in the drm_fb_helper_panic() notifier: if we're going to reboot immediately, the user will not be able to see the messages anyway, and messing with the video mode may displa

[patch 1/2] drivers/gpu/vga/vgaarb.c: add missing kfree

2011-11-15 Thread a...@linux-foundation.org
From: Julia Lawall Subject: drivers/gpu/vga/vgaarb.c: add missing kfree kbuf is a buffer that is local to this function, so all of the error paths leaving the function should release it. Signed-off-by: Julia Lawall Cc: Dave Airlie Cc: Jesper Juhl Signed-off-by: Andrew Morton --- drivers/gp

[patch 1/1] drivers/gpu/drm/radeon/atom.c: fix warning

2010-10-20 Thread a...@linux-foundation.org
From: Andrew Morton drivers/gpu/drm/radeon/atom.c: In function 'atom_op_delay': drivers/gpu/drm/radeon/atom.c:653: warning: comparison is always false due to limited range of data type Cc: David Airlie Cc: Alex Deucher Cc: Matt Turner Signed-off-by: Andrew Morton --- drivers/gpu/drm/radeo

[patch 1/1] drivers/gpu/drm/radeon/atom.c: fix warning

2010-10-01 Thread a...@linux-foundation.org
From: Andrew Morton drivers/gpu/drm/radeon/atom.c: In function 'atom_op_delay': drivers/gpu/drm/radeon/atom.c:653: warning: comparison is always false due to limited range of data type Cc: David Airlie Cc: Alex Deucher Cc: Matt Turner Signed-off-by: Andrew Morton --- drivers/gpu/drm/radeo

[patch 2/2] include/linux/vgaarb.h: add missing part of include guard

2010-07-20 Thread a...@linux-foundation.org
From: Doug Goldstein vgaarb.h was missing the #define of the #ifndef at the top for the guard to prevent multiple #include's from causing re-define errors Signed-off-by: Doug Goldstein Cc: Dave Airlie Cc: Jesse Barnes Signed-off-by: Andrew Morton --- include/linux/vgaarb.h |1 + 1 file

[patch 1/2] drivers/gpu/drm/i915: remove duplicate structure field initialization

2010-07-20 Thread a...@linux-foundation.org
From: Julia Lawall In each case, is_mobile is defined twice to 1. Drop one initialization. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @r@ identifier I, s, fld; position p0,p; expression E; @@ struct I s =@p0 { ... .fld at p = E, ...}; @s@ ident