drm/libdrm/radeon
Mathias Fröhlich 6eafd1cf38 radeon: fix allocation
The old code increments the command stream size by another kbyte, but does
not make sure that the requested packet size fits into the stream. The patch
ensures that the whole next packet fits there and rounds the allocated size to
a power of two.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-11-03 11:41:26 -05:00
..
Makefile.am radeon: move cs space checking code to libdrm_radeon. 2009-07-06 15:10:11 +10:00
libdrm_radeon.pc.in libdrm/radeon: add initial libdrm_radeon 2009-06-17 17:47:42 +10:00
radeon_bo.h radeon: add support for busy/domain check interface. 2009-08-22 13:16:18 +10:00
radeon_bo_gem.c libdrm_radeon: Zero-initialize structures to silence valgrind warnings 2009-10-03 13:46:10 +02:00
radeon_bo_gem.h radeon: add buffer naming function 2009-07-02 15:42:01 +10:00
radeon_cs.h libdrm_radeon: Optimize copy of table to cs buffer with specialized call. 2009-08-18 14:54:25 -04:00
radeon_cs_gem.c radeon: fix allocation 2009-11-03 11:41:26 -05:00
radeon_cs_gem.h libdrm/radeon: add initial libdrm_radeon 2009-06-17 17:47:42 +10:00
radeon_cs_space.c radeon: fix GTT writing space check 2009-08-15 21:32:35 +10:00
radeon_track.c libdrm/radeon: Update head of linked list not to point freed memory. 2009-08-18 14:52:43 -04:00
radeon_track.h libdrm/radeon: add initial libdrm_radeon 2009-06-17 17:47:42 +10:00