mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
gpu: ipu-v3: Add ipu_idmac_clear_buffer()
Add the reverse of ipu_idmac_select_buffer(), that is, clear a buffer ready status in a channel. Signed-off-by: Steve Longerbeam <[email protected]> Signed-off-by: Philipp Zabel <[email protected]>
This commit is contained in:
parent
aa52f57894
commit
bce6f087a9
2 changed files with 29 additions and 0 deletions
|
|
@ -167,6 +167,7 @@ void ipu_idmac_set_double_buffer(struct ipuv3_channel *channel,
|
|||
int ipu_idmac_get_current_buffer(struct ipuv3_channel *channel);
|
||||
bool ipu_idmac_buffer_is_ready(struct ipuv3_channel *channel, u32 buf_num);
|
||||
void ipu_idmac_select_buffer(struct ipuv3_channel *channel, u32 buf_num);
|
||||
void ipu_idmac_clear_buffer(struct ipuv3_channel *channel, u32 buf_num);
|
||||
|
||||
/*
|
||||
* IPU Channel Parameter Memory (cpmem) functions
|
||||
|
|
|
|||
Loading…
Reference in a new issue