android_kernel_xiaomi_sm8350/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
Makefile