diff options
author | Jean Delvare <khali@linux-fr.org> | 2010-05-11 14:01:45 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-05-11 14:01:48 +1000 |
commit | c9ff04c941d2cd87d27496d7fee8923238bb2ebb (patch) | |
tree | 42ed249578600f9c03653ec27bf1a70589dcb168 /include | |
parent | 8cfe92d683a0041ac8e016a0b0a487c99a78f6c1 (diff) | |
download | talos-obmc-linux-c9ff04c941d2cd87d27496d7fee8923238bb2ebb.tar.gz talos-obmc-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 'include')
0 files changed, 0 insertions, 0 deletions