NV services: Difference between revisions

No edit summary
Line 66: Line 66:
QueryEvent is only supported on (and implemented differently on):
QueryEvent is only supported on (and implemented differently on):
* /dev/nvhost-gpu
* /dev/nvhost-gpu
** 1: Unknown
** 1: SmException_BptIntReport
** 2: Unknown
** 2: SmException_BptPauseReport
** 3: Unknown
** 3: ErrorNotifierEvent
* /dev/nvhost-ctrl: Used to get events for SyncPts.
* /dev/nvhost-ctrl: Used to get events for SyncPts.
** If bit31-28 is 1, then lower 16-bits contain event_slot, bit27-16 contain syncpt_number.  
** If bit31-28 is 1, then lower 16-bits contain event_slot, bit27-16 contain syncpt_number.  
Line 76: Line 76:
** 2: Returns unknown event.
** 2: Returns unknown event.
* /dev/nvhost-dbg-gpu
* /dev/nvhost-dbg-gpu
** Ignored event-id.
** Ignores event_id.


== MapSharedMem ==
== MapSharedMem ==