From dca1c2d000011ae4eafd2d9f92e2a97866c07e71 Mon Sep 17 00:00:00 2001 From: Mikko Perttunen Date: Mon, 29 Jan 2018 09:34:42 +0200 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1647739 Reviewed-by: mobile promotions Tested-by: mobile promotions --- include/uapi/linux/nvhost_events.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'include/uapi') 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 { NVHOST_NUM_EVENT_TYPES = 3 }; -union nvhost_event_union { - struct nvhost_task_begin task_begin; - struct nvhost_task_end task_end; - struct nvhost_task_submit task_submit; -}; - enum { NVHOST_NUM_CUSTOM_FILTER_FLAGS = 0 }; -- cgit v1.2.2