diff options
author | Jerome Glisse <[email protected]> | 2013-01-07 11:49:23 -0500 |
---|---|---|
committer | Jerome Glisse <[email protected]> | 2013-01-28 11:30:35 -0500 |
commit | 6c064fd7492ea835f873112bc3189bb1920aad32 (patch) | |
tree | 88f392933291091c872523159a43ed3963111c2f /src/gallium/drivers/nv30 | |
parent | cbf0f666311a5cb2720a4d6f4c540da1dd33e418 (diff) |
radeon/winsys: add dma ring support to winsys v3
Add ring support, you can create a cs for each ring. DMA ring is
bit special regarding relocation as you must emit as much relocation
as there is use of the buffer.
v2: - Improved comment on relocation changes
- Use a single thread to queue cs submittion this simplify driver
code while not impacting performances. Rational for this is that
you have to wait for all previous submission to have completed
so there was never a case while we could have 2 different thread
submitting a command stream at the same time. This code just
consolidate submission into one single thread per winsys.
v3: - Do not use semaphore for empty queue signaling, instead use
cond var. This is because it's tricky to maintain an even number
of call to semaphore wait and semaphore signal (the number of
cs in the stack would for instance make that number vary).
Signed-off-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nv30')
0 files changed, 0 insertions, 0 deletions