summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorMikko Perttunen <mperttunen@nvidia.com>2018-01-29 02:34:42 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2018-02-02 02:24:03 -0500
commitdca1c2d000011ae4eafd2d9f92e2a97866c07e71 (patch)
tree2461bc80288ede382b6d93426a11dd69e9083671 /include/uapi/linux
parent4e99059539e4d20a400439edb626e1e626897284 (diff)
video: tegra: host: Remove padding from eventlib events
eventlib_format doesn't like padding on event data, so get rid of it. Currently event data is specified as an union, but this is not necessary and adds the redundant padding. Remove the union and just deliver events as variably-sized structs. Jira HOSTX-329 Jira HOSTX-317 Change-Id: I5df318d9cdf527e3d42e71c749585a0ea029d52a Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1647739 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/nvhost_events.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/uapi/linux/nvhost_events.h b/include/uapi/linux/nvhost_events.h
index 4655537f1..7d6b6043c 100644
--- a/include/uapi/linux/nvhost_events.h
+++ b/include/uapi/linux/nvhost_events.h
@@ -80,12 +80,6 @@ enum {
80 NVHOST_NUM_EVENT_TYPES = 3 80 NVHOST_NUM_EVENT_TYPES = 3
81}; 81};
82 82
83union nvhost_event_union {
84 struct nvhost_task_begin task_begin;
85 struct nvhost_task_end task_end;
86 struct nvhost_task_submit task_submit;
87};
88
89enum { 83enum {
90 NVHOST_NUM_CUSTOM_FILTER_FLAGS = 0 84 NVHOST_NUM_CUSTOM_FILTER_FLAGS = 0
91}; 85};