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
intelfbdrv.c
intelfbhw.c intelfb: fix ring space calculation 2007-05-08 11:15:26 -07:00
intelfbhw.h
Makefile