diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2016-01-21 15:20:04 +0000 |
---|---|---|
committer | Lucas Stach <l.stach@pengutronix.de> | 2016-03-07 15:36:52 +0100 |
commit | 584a13c6e65d9f986424594e41c6a7114d37391b (patch) | |
tree | e181ee91819d8b38d152e7909ad09810be2c861e /drivers/hsi | |
parent | 471070abd2f53e579ebeb362e78ce62d04287f49 (diff) |
drm: etnaviv: extract command ring reservation
Provide a helper etnaviv_buffer_reserve() to ensure that we can fit a
set of commands into the ring buffer without wrapping by moving code
out of etnaviv_buffer_queue().
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'drivers/hsi')
0 files changed, 0 insertions, 0 deletions