diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-10-26 10:59:18 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-10-26 11:46:52 +0100 |
commit | d4d769a4329f3f22842f8270fca46047bd4892ce (patch) | |
tree | 095bf321488170b5d14943a179cbac644d6f535c /tests/gem_tiled_pread.c | |
parent | 8934395d9d3b5910a52785d69a8da4516c4d82a6 (diff) |
Prepare for split BLT ring on Sandybridge.
Depends on libdrm 057fab3382c02af54126ce395c43d4e6dce9439a
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=31123
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/gem_tiled_pread.c')
-rw-r--r-- | tests/gem_tiled_pread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gem_tiled_pread.c b/tests/gem_tiled_pread.c index e19453ed..ed7d8582 100644 --- a/tests/gem_tiled_pread.c +++ b/tests/gem_tiled_pread.c @@ -81,7 +81,7 @@ create_bo(uint32_t devid) linear[i] = val++; drm_intel_bo_unmap(linear_bo); - intel_copy_bo(batch, bo, linear_bo, width, height, devid); + intel_copy_bo(batch, bo, linear_bo, width, height); drm_intel_bo_unreference(linear_bo); @@ -133,7 +133,7 @@ main(int argc, char **argv) bufmgr = drm_intel_bufmgr_gem_init(fd, 4096); drm_intel_bufmgr_gem_enable_reuse(bufmgr); - batch = intel_batchbuffer_alloc(bufmgr); + batch = intel_batchbuffer_alloc(bufmgr, intel_get_drm_devid(fd)); bo = create_bo(devid); |