summaryrefslogtreecommitdiff
path: root/linux-core/nouveau_fence.c
diff options
context:
space:
mode:
authorMathias Fröhlich <Mathias.Froehlich@gmx.net>2009-11-03 11:41:26 -0500
committerAlex Deucher <alexdeucher@gmail.com>2009-11-03 11:41:26 -0500
commit6eafd1cf386d93bb9e34660227ca6f26aadfeb32 (patch)
tree2cbd0093758ec8fdbc43d88832aabfbd0345c083 /linux-core/nouveau_fence.c
parentb0b96636dbf93445dd532b09b21fa4fc5ce6bdc7 (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 'linux-core/nouveau_fence.c')
0 files changed, 0 insertions, 0 deletions