summaryrefslogtreecommitdiff
path: root/mm/dmapool.c
diff options
context:
space:
mode:
authorBen Widawsky <ben@bwidawsk.net>2011-03-20 04:14:27 +0300
committerKeith Packard <keithp@keithp.com>2011-05-11 00:56:40 +0400
commit96f298aa9c9fc9b7c8a2ebaf8c195d178f570e09 (patch)
treecfb71da9613d701728520ec5f916e7cb6aa8a889 /mm/dmapool.c
parent2c34b850ee1e9f86b41706149d0954eee58757a3 (diff)
downloadlinux-96f298aa9c9fc9b7c8a2ebaf8c195d178f570e09.tar.xz
drm/1915: ringbuffer wait for idle function
Added a new function which waits for the ringbuffer space to be equal to (total - 8). This is the empty condition of the ringbuffer, and equivalent to head==tail. Also modified two users of this functionality elsewhere in the code. Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'mm/dmapool.c')
0 files changed, 0 insertions, 0 deletions