mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-28 14:59:42 -04:00
Merge tag 'mailbox-fixes-v6.18-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/jassibrar/mailbox
Pull mailbox fixes from Jassi Brar:
- omap: check for pending msgs only when mbox is exclusive
- mailbox-test: debugfs_create_dir error checking
- mtk:
- cmdq: fix DMA address handling
- gpueb: Add missing 'static' to mailbox ops struct
- pcc: don't zero error register
- th1520: fix clock imbalance on probe failure
* tag 'mailbox-fixes-v6.18-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/jassibrar/mailbox:
mailbox: th1520: fix clock imbalance on probe failure
mailbox: pcc: don't zero error register
mailbox: mtk-gpueb: Add missing 'static' to mailbox ops struct
mailbox: mtk-cmdq: Refine DMA address handling for the command buffer
mailbox: mailbox-test: Fix debugfs_create_dir error checking
mailbox: omap-mailbox: Check for pending msgs only when mbox is exclusive
This commit is contained in:
@@ -77,6 +77,16 @@ struct cmdq_pkt {
|
||||
size_t buf_size; /* real buffer size */
|
||||
};
|
||||
|
||||
/**
|
||||
* cmdq_get_shift_pa() - get the shift bits of physical address
|
||||
* @chan: mailbox channel
|
||||
*
|
||||
* GCE can only fetch the command buffer address from a 32-bit register.
|
||||
* Some SOCs support more than 32-bit command buffer address for GCE, which
|
||||
* requires some shift bits to make the address fit into the 32-bit register.
|
||||
*
|
||||
* Return: the shift bits of physical address
|
||||
*/
|
||||
u8 cmdq_get_shift_pa(struct mbox_chan *chan);
|
||||
|
||||
#endif /* __MTK_CMDQ_MAILBOX_H__ */
|
||||
|
||||
Reference in New Issue
Block a user