diff options
Diffstat (limited to 'drivers/video/tegra/host/nvhost_cdma.c')
-rw-r--r-- | drivers/video/tegra/host/nvhost_cdma.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/video/tegra/host/nvhost_cdma.c b/drivers/video/tegra/host/nvhost_cdma.c index edebeeb5ea7b..24c0c0fff0c0 100644 --- a/drivers/video/tegra/host/nvhost_cdma.c +++ b/drivers/video/tegra/host/nvhost_cdma.c @@ -24,6 +24,7 @@ #include "dev.h" #include <asm/cacheflush.h> #include <linux/slab.h> +#include <trace/events/nvhost.h> /* * TODO: * stats @@ -258,6 +259,9 @@ unsigned int nvhost_cdma_wait(struct nvhost_cdma *cdma, enum cdma_event event) if (space) return space; + trace_nvhost_wait_cdma(cdma_to_channel(cdma)->desc->name, + event); + BUG_ON(cdma->event != CDMA_EVENT_NONE); cdma->event = event; |