author | Jesse Barnes <jbarnes@virtuousgeek.org> | |
Tue, 15 Sep 2009 18:02:58 +0000 (11:02 -0700) | ||
committer | Eric Anholt <eric@anholt.net> | |
Tue, 2 Mar 2010 18:10:50 +0000 (10:10 -0800) | ||
commit | b50964027bef249a0cc3d511de05c2464e0a1e22 | |
tree | 922ef89b71b606f50087e7a41d7efd799f473c0c | tree | snapshot (tar.xz tar.gz zip) |
parent | 9a37455b35d746d694760cfe8850a8bf856d73c9 | commit | diff |
libdrm/intel: execbuf2 support
This patch to libdrm adds support for the new execbuf2 ioctl. If
detected, it will be used instead of the old ioctl. By using the new
drm_intel_bufmgr_gem_enable_fenced_relocs(), you can indicate that any
time a fence register is actually required for a relocation target you
will call drm_intel_bo_emit_reloc_fence instead of
drm_intel_bo_emit_reloc, which will reduce fence register pressure.
Signed-off-by: Eric Anholt <eric@anholt.net>
This patch to libdrm adds support for the new execbuf2 ioctl. If
detected, it will be used instead of the old ioctl. By using the new
drm_intel_bufmgr_gem_enable_fenced_relocs(), you can indicate that any
time a fence register is actually required for a relocation target you
will call drm_intel_bo_emit_reloc_fence instead of
drm_intel_bo_emit_reloc, which will reduce fence register pressure.
Signed-off-by: Eric Anholt <eric@anholt.net>