An exposed (not opaque) structure for a stream.
Definition at line 47 of file nvrm_stream.h.

Data Fields | |
| NvU32 | SyncPointID |
| NvU32 | SyncPointsUsed |
| The SyncPointsUsed field is expected to be incremented by the client whenever the client inserts a syncpoint-increment command. More... | |
| NvBool | UseImmediate |
| Use Immediate sync pt increments instead of Operation Done to determine when a command buffer is flushed. More... | |
| NvBool | ClientManaged |
| Client-managed sync point. More... | |
| NvBool | NullKickoff |
| The NULL-Kickoff driver for a given stream: all of the "work" is done but the hardware doesn't ever fetch the data. More... | |
| NvError | ErrorFlag |
| ErrorFlag keeps first detected NvError code since last NvRmStreamGetError() call. More... | |
| NvRmModuleID | LastEngineUsed |
| NvU32 | LastClassUsed |
| NvRmContextHandle | hContext |
| The hardware context, if any, currently being used by this stream. More... | |
| NvU32 * | pContextShadowCopy |
| XXX hContext should be made a transparent structure with a private pointer and a public part. More... | |
| NvU32 | ContextShadowCopySize |
| void(* | pSyncPointBaseCallback )(struct NvRmStreamRec *pStream, NvU32 SyncPointBase, NvU32 SyncPointsUsed) |
| Sync point callback: this callback will inform the client what sync point base it actually ended up getting on each flush. More... | |
| void * | pClientPriv |
| Private data member available for use by the client of the API. More... | |
| NvS32 | Flags |
| void * | pRmPriv |
| Opaque pointer to RM private data associated with this stream. More... | |
| NvData32 * | pBase |
| pBase points to the base of the command buffer chunk that we are currently filling in. More... | |
| NvData32 * | pCurrent |
| This points to the current location we are writing to. More... | |
| NvU32 | checksumMethods |
| NvU32 | checksumFalconMethods |
| NvRmMemHandle | hMem |
| void * | pMem |
| NvU32 NvRmStreamRec::checksumFalconMethods |
Definition at line 170 of file nvrm_stream.h.
| NvU32 NvRmStreamRec::checksumMethods |
Definition at line 169 of file nvrm_stream.h.
| NvBool NvRmStreamRec::ClientManaged |
Client-managed sync point.
The sync point will not be touched by the stream/channel software. SyncPointsUsed will not be modified, nor will there be a sync point increment appended during the flush.
Definition at line 83 of file nvrm_stream.h.
| NvU32 NvRmStreamRec::ContextShadowCopySize |
Definition at line 120 of file nvrm_stream.h.
| NvError NvRmStreamRec::ErrorFlag |
ErrorFlag keeps first detected NvError code since last NvRmStreamGetError() call.
It is reset to NvSuccess by NvRmStreamGetError() and gets updated by NvRmStreamSetError()
Definition at line 97 of file nvrm_stream.h.
| NvS32 NvRmStreamRec::Flags |
Definition at line 144 of file nvrm_stream.h.
| NvRmContextHandle NvRmStreamRec::hContext |
The hardware context, if any, currently being used by this stream.
Leave as NULL if none is needed. This field may only be modified immediately after a NvRmStreamInit() or NvRmStreamFlush() call. XXX See bug 330297 for proposed API changes.
Definition at line 111 of file nvrm_stream.h.
| NvRmMemHandle NvRmStreamRec::hMem |
Definition at line 173 of file nvrm_stream.h.
| NvU32 NvRmStreamRec::LastClassUsed |
Definition at line 103 of file nvrm_stream.h.
| NvRmModuleID NvRmStreamRec::LastEngineUsed |
Definition at line 100 of file nvrm_stream.h.
| NvBool NvRmStreamRec::NullKickoff |
The NULL-Kickoff driver for a given stream: all of the "work" is done but the hardware doesn't ever fetch the data.
SyncPointID will be incremented by SyncPointsUsed.
Definition at line 90 of file nvrm_stream.h.
| NvData32* NvRmStreamRec::pBase |
pBase points to the base of the command buffer chunk that we are currently filling in.
Definition at line 161 of file nvrm_stream.h.
| void* NvRmStreamRec::pClientPriv |
Private data member available for use by the client of the API.
You can do whatever you want with this field.
Definition at line 141 of file nvrm_stream.h.
| NvU32* NvRmStreamRec::pContextShadowCopy |
XXX hContext should be made a transparent structure with a private pointer and a public part.
The two fields that follow become public part of hContext. Our marshalling does not currently descent into structures, so these fields stay here for now.
Definition at line 119 of file nvrm_stream.h.
| NvData32* NvRmStreamRec::pCurrent |
This points to the current location we are writing to.
This should always be >= pBase and <= pFence.
Definition at line 167 of file nvrm_stream.h.
| void* NvRmStreamRec::pMem |
Definition at line 174 of file nvrm_stream.h.
| void* NvRmStreamRec::pRmPriv |
Opaque pointer to RM private data associated with this stream.
Anything that RM does not need high-performance access to should be hidden behind here, so that we don't have to recompile the world when it changes.
Definition at line 153 of file nvrm_stream.h.
| void(* NvRmStreamRec::pSyncPointBaseCallback) (struct NvRmStreamRec *pStream, NvU32 SyncPointBase, NvU32 SyncPointsUsed) |
Sync point callback: this callback will inform the client what sync point base it actually ended up getting on each flush.
Can be left NULL if not needed. If not NULL, it will be called every time NvRmStreamFlush() is called on this stream. The SyncPointBase parameter is the value that the syncpt register (specified by SyncPointID) will have before any of the syncpt increment commands that are currently being flushed take affect. XXX Should this be renamed to something more like "post-flush callback"?
Definition at line 132 of file nvrm_stream.h.
| NvU32 NvRmStreamRec::SyncPointID |
Definition at line 61 of file nvrm_stream.h.
| NvU32 NvRmStreamRec::SyncPointsUsed |
The SyncPointsUsed field is expected to be incremented by the client whenever the client inserts a syncpoint-increment command.
Definition at line 67 of file nvrm_stream.h.
| NvBool NvRmStreamRec::UseImmediate |
Use Immediate sync pt increments instead of Operation Done to determine when a command buffer is flushed.
For streaming blocks, like VI in which OpDone does not indicate programming is done, but instead indicates when an image is captured, Immediate is a better choice.
Definition at line 76 of file nvrm_stream.h.