mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
nvidia-oot: expose tegra_hv_ivc_tx_empty API for hv comm driver
Jira HYP-20929 Change-Id: I4ba92c8c7e76cc391d1c4a8a2e8d22f312cde7fa Signed-off-by: Manish Bhardwaj <mbhardwaj@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3369454 Tested-by: Daniel Kudrow <dkudrow@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Daniel Kudrow <dkudrow@nvidia.com> Reviewed-by: Suresh Venkatachalam <skathirampat@nvidia.com>
This commit is contained in:
committed by
Jon Hunter
parent
79cf6380ea
commit
bc0fa73ed6
@@ -846,7 +846,6 @@ int tegra_hv_ivc_can_write(struct tegra_hv_ivc_cookie *ivck)
|
|||||||
}
|
}
|
||||||
EXPORT_SYMBOL(tegra_hv_ivc_can_write);
|
EXPORT_SYMBOL(tegra_hv_ivc_can_write);
|
||||||
|
|
||||||
#ifndef CONFIG_BUILD_PROD
|
|
||||||
int tegra_hv_ivc_tx_empty(struct tegra_hv_ivc_cookie *ivck)
|
int tegra_hv_ivc_tx_empty(struct tegra_hv_ivc_cookie *ivck)
|
||||||
{
|
{
|
||||||
struct hv_ivc *ivc = cookie_to_ivc_dev(ivck);
|
struct hv_ivc *ivc = cookie_to_ivc_dev(ivck);
|
||||||
@@ -859,6 +858,7 @@ int tegra_hv_ivc_tx_empty(struct tegra_hv_ivc_cookie *ivck)
|
|||||||
}
|
}
|
||||||
EXPORT_SYMBOL(tegra_hv_ivc_tx_empty);
|
EXPORT_SYMBOL(tegra_hv_ivc_tx_empty);
|
||||||
|
|
||||||
|
#ifndef CONFIG_BUILD_PROD
|
||||||
uint32_t tegra_hv_ivc_tx_frames_available(struct tegra_hv_ivc_cookie *ivck)
|
uint32_t tegra_hv_ivc_tx_frames_available(struct tegra_hv_ivc_cookie *ivck)
|
||||||
{
|
{
|
||||||
struct hv_ivc *ivc = cookie_to_ivc_dev(ivck);
|
struct hv_ivc *ivc = cookie_to_ivc_dev(ivck);
|
||||||
|
|||||||
Reference in New Issue
Block a user