From c0d4b78b3abe5b7a5db7f870eb762b9e0fe2693f Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Thu, 24 Nov 2011 12:32:58 +0200 Subject: video: tegra: host: Support for right shift on reloc patches Some hardware architectures require that only select MSB bits be supplied to them for addresses. They do the reverse transformation while accessing the actual memory. Bug 857531 Change-Id: I215f099ff0ee86daff1c1eb1e5b70edf8ae856d9 Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/66654 Reviewed-by: Yu-Huan Hsu Reviewed-by: Shashank Garg --- include/trace/events/nvhost.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'include/trace') diff --git a/include/trace/events/nvhost.h b/include/trace/events/nvhost.h index a0184440a09c..6c266b9f2ea4 100644 --- a/include/trace/events/nvhost.h +++ b/include/trace/events/nvhost.h @@ -172,23 +172,21 @@ TRACE_EVENT(nvhost_channel_write_cmdbuf_data, __entry->cmdbuf ? __entry->words * 4 : 0)) ); -TRACE_EVENT(nvhost_channel_write_relocs, - TP_PROTO(const char *name, u32 relocs), +TRACE_EVENT(nvhost_channel_write_reloc, + TP_PROTO(const char *name), - TP_ARGS(name, relocs), + TP_ARGS(name), TP_STRUCT__entry( __field(const char *, name) - __field(u32, relocs) ), TP_fast_assign( __entry->name = name; - __entry->relocs = relocs; ), - TP_printk("name=%s, relocs=%u", - __entry->name, __entry->relocs) + TP_printk("name=%s", + __entry->name) ); TRACE_EVENT(nvhost_channel_write_waitchks, -- cgit v1.2.3