summaryrefslogtreecommitdiff
path: root/tests/ttmtest/src/xf86dri.h
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2009-03-30 14:35:30 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-03-30 14:37:04 -0700
commitcd5c66c659168cbe2e3229ebf8be79f764ed0ee1 (patch)
treeaad537d3d0fcba6ab5ee0806587db84dea2081b3 /tests/ttmtest/src/xf86dri.h
parent93e65271601e6a1c7c90453f2f13157ae24b35c2 (diff)
libdrm: speed up connector & mode fetching
This patch speeds up drmModeGetConnector by pre-allocating mode & property info space before calling into the kernel.  In many cases this pre-allocation will be sufficient to hold the returned values (it's easy enough to tweak if the common case becomes larger), which means we don't have to make the second call, which saves a lot of time. Acked-by: Jakob Bornecrantz <wallbraker@gmail.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'tests/ttmtest/src/xf86dri.h')
0 files changed, 0 insertions, 0 deletions