diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/nvhost.h | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/include/linux/nvhost.h b/include/linux/nvhost.h index 78c95e5fc..2c01ffdcc 100644 --- a/include/linux/nvhost.h +++ b/include/linux/nvhost.h | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | * | 3 | * |
| 4 | * Tegra graphics host driver | 4 | * Tegra graphics host driver |
| 5 | * | 5 | * |
| 6 | * Copyright (c) 2009-2018, NVIDIA Corporation. All rights reserved. | 6 | * Copyright (c) 2009-2019, NVIDIA Corporation. All rights reserved. |
| 7 | * | 7 | * |
| 8 | * This program is free software; you can redistribute it and/or modify | 8 | * This program is free software; you can redistribute it and/or modify |
| 9 | * it under the terms of the GNU General Public License as published by | 9 | * it under the terms of the GNU General Public License as published by |
| @@ -49,6 +49,7 @@ struct nvhost_as_moduleops; | |||
| 49 | struct nvhost_ctrl_sync_fence_info; | 49 | struct nvhost_ctrl_sync_fence_info; |
| 50 | struct nvhost_sync_timeline; | 50 | struct nvhost_sync_timeline; |
| 51 | struct nvhost_sync_pt; | 51 | struct nvhost_sync_pt; |
| 52 | enum nvdev_fence_kind; | ||
| 52 | struct nvdev_fence; | 53 | struct nvdev_fence; |
| 53 | struct sync_pt; | 54 | struct sync_pt; |
| 54 | 55 | ||
| @@ -654,10 +655,14 @@ static inline void nvhost_eventlib_log_submit(struct platform_device *pdev, | |||
| 654 | u64 timestamp) | 655 | u64 timestamp) |
| 655 | { | 656 | { |
| 656 | } | 657 | } |
| 657 | static inline void nvhost_eventlib_log_fence(struct platform_device *pdev, | 658 | |
| 658 | u32 kind, | 659 | static inline void nvhost_eventlib_log_fences(struct platform_device *pdev, |
| 659 | struct nvdev_fence *fence, | 660 | u32 task_syncpt_id, |
| 660 | u64 timestamp) | 661 | u32 task_syncpt_thresh, |
| 662 | struct nvdev_fence *fences, | ||
| 663 | u8 num_fences, | ||
| 664 | enum nvdev_fence_kind kind, | ||
| 665 | u64 timestamp) | ||
| 661 | { | 666 | { |
| 662 | } | 667 | } |
| 663 | #else | 668 | #else |
| @@ -772,10 +777,13 @@ void nvhost_eventlib_log_submit(struct platform_device *pdev, | |||
| 772 | u32 syncpt_thresh, | 777 | u32 syncpt_thresh, |
| 773 | u64 timestamp); | 778 | u64 timestamp); |
| 774 | 779 | ||
| 775 | void nvhost_eventlib_log_fence(struct platform_device *pdev, | 780 | void nvhost_eventlib_log_fences(struct platform_device *pdev, |
| 776 | u32 kind, | 781 | u32 task_syncpt_id, |
| 777 | struct nvdev_fence *fence, | 782 | u32 task_syncpt_thresh, |
| 778 | u64 timestamp); | 783 | struct nvdev_fence *fences, |
| 784 | u8 num_fences, | ||
| 785 | enum nvdev_fence_kind kind, | ||
| 786 | u64 timestamp); | ||
| 779 | 787 | ||
| 780 | /* public host1x interrupt management APIs */ | 788 | /* public host1x interrupt management APIs */ |
| 781 | int nvhost_intr_register_notifier(struct platform_device *pdev, | 789 | int nvhost_intr_register_notifier(struct platform_device *pdev, |
