diff options
author | Jean Delvare <khali@linux-fr.org> | 2010-05-11 06:01:45 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-05-11 06:01:48 +0200 |
commit | c9ff04c941d2cd87d27496d7fee8923238bb2ebb (patch) | |
tree | 42ed249578600f9c03653ec27bf1a70589dcb168 /Documentation/ABI/testing/sysfs-bus-pci | |
parent | drm/ttm: Remove the ttm_bo_block_reservation() function. (diff) | |
download | linux-c9ff04c941d2cd87d27496d7fee8923238bb2ebb.tar.xz linux-c9ff04c941d2cd87d27496d7fee8923238bb2ebb.zip |
drm/radeon: Fix 3 regressions - since buffer rework
Commit b4fe945405e477cded91772b4fec854705443dd5 introduced 3 bugs,
fix them:
* Use the right command dword for second packet offset in
RADEON_CNTL_PAINT/BITBLT_MULTI.
* Don't leak memory if drm_buffer_copy_from_user() fails.
* Don't call drm_buffer_unprocessed() unless drm_buffer_alloc() and
drm_buffer_copy_from_user() have been called successfully first.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Pauli Nieminen <suokkos@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-bus-pci')
0 files changed, 0 insertions, 0 deletions