Rev 6104 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6104 | Rev 6938 | ||
---|---|---|---|
Line 4130... | Line 4130... | ||
4130 | * cik_ring_ib_execute - emit an IB (Indirect Buffer) on the gfx ring |
4130 | * cik_ring_ib_execute - emit an IB (Indirect Buffer) on the gfx ring |
4131 | * |
4131 | * |
4132 | * @rdev: radeon_device pointer |
4132 | * @rdev: radeon_device pointer |
4133 | * @ib: radeon indirect buffer object |
4133 | * @ib: radeon indirect buffer object |
4134 | * |
4134 | * |
4135 | * Emits an DE (drawing engine) or CE (constant engine) IB |
4135 | * Emits a DE (drawing engine) or CE (constant engine) IB |
4136 | * on the gfx ring. IBs are usually generated by userspace |
4136 | * on the gfx ring. IBs are usually generated by userspace |
4137 | * acceleration drivers and submitted to the kernel for |
4137 | * acceleration drivers and submitted to the kernel for |
4138 | * sheduling on the ring. This function schedules the IB |
4138 | * scheduling on the ring. This function schedules the IB |
4139 | * on the gfx ring for execution by the GPU. |
4139 | * on the gfx ring for execution by the GPU. |
4140 | */ |
4140 | */ |
4141 | void cik_ring_ib_execute(struct radeon_device *rdev, struct radeon_ib *ib) |
4141 | void cik_ring_ib_execute(struct radeon_device *rdev, struct radeon_ib *ib) |
4142 | { |
4142 | { |
4143 | struct radeon_ring *ring = &rdev->ring[ib->ring]; |
4143 | struct radeon_ring *ring = &rdev->ring[ib->ring]; |