i915: fixup up bufmgr to pass num buffers to kernel

remove unneeded entry points
This commit is contained in:
Dave Airlie
2007-10-09 12:18:50 +10:00
parent 0ba57d02cd
commit 7e83c15fa0
8 changed files with 26 additions and 109 deletions

View File

@@ -127,8 +127,9 @@ do_flush_locked(struct intel_batchbuffer *batch,
{
struct intel_context *intel = batch->intel;
void *start;
GLuint count;
start = dri_process_relocs(batch->buf);
start = dri_process_relocs(batch->buf, &count);
batch->map = NULL;
batch->ptr = NULL;
@@ -143,7 +144,7 @@ do_flush_locked(struct intel_batchbuffer *batch,
if (intel->intelScreen->ttm == GL_TRUE) {
intel_exec_ioctl(batch->intel,
used, ignore_cliprects, allow_unlock,
start, &batch->last_fence);
start, count, &batch->last_fence);
} else {
intel_batch_ioctl(batch->intel,
batch->buf->offset,