2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 20:53:53 +08:00
linux-next/drivers/video/intelfb
Orczykowski, Juergen 71c6efd993 intelfb: fix ring space calculation
If there is less than RING_MIN_FREE available in the ring buffer,
dinfo->ring_space is set to a big value forcing wait_ring to return.

Fix by making ring space = 0 if ring space < RING_MIN_FREE.

Signed-off-by: Dave Airlie <airlied@gmail.com>
Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-08 11:15:26 -07:00
..
intelfb_i2c.c i2c: Shrink struct i2c_client 2007-05-01 23:26:28 +02:00
intelfb.h intelfb: fix mtrr_reg signedness 2006-08-22 10:10:56 +10:00
intelfbdrv.c [PATCH] Video: fb, kzalloc changes 2007-02-12 09:48:43 -08:00
intelfbhw.c intelfb: fix ring space calculation 2007-05-08 11:15:26 -07:00
intelfbhw.h intelfb: add preliminary i2c support 2006-07-03 19:03:10 +10:00
Makefile intelfb: add preliminary i2c support 2006-07-03 19:04:37 +10:00