diff options
author | Mathias Fröhlich <Mathias.Froehlich@gmx.net> | 2009-11-03 11:41:26 -0500 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-11-03 11:41:26 -0500 |
commit | 6eafd1cf386d93bb9e34660227ca6f26aadfeb32 (patch) | |
tree | 2cbd0093758ec8fdbc43d88832aabfbd0345c083 /libdrm/radeon/radeon_bo.h | |
parent | b0b96636dbf93445dd532b09b21fa4fc5ce6bdc7 (diff) |
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>
Diffstat (limited to 'libdrm/radeon/radeon_bo.h')
0 files changed, 0 insertions, 0 deletions