Skip to content
Commit 6eafd1cf authored by Mathias Fröhlich's avatar Mathias Fröhlich Committed by Alex Deucher
Browse files

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: default avatarAlex Deucher <alexdeucher@gmail.com>
parent b0b96636
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment