diff options
author | Orczykowski, Juergen <juergen.orczykowski@siemens.com> | 2007-05-08 00:37:25 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 11:15:26 -0700 |
commit | 71c6efd9930bd87249d007120425341d1293303d (patch) | |
tree | 43cdb8c00526f16ca5e2cbb99012277fbb1fe116 /drivers/video/nvidia | |
parent | 33a9f640a2511155517d316e696654b84dd48654 (diff) |
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>
Diffstat (limited to 'drivers/video/nvidia')
0 files changed, 0 insertions, 0 deletions