drm/radeon: fix order of doing things in radeon_crtc_cursor_set
authorIlija Hadzic <ihadzic@research.bell-labs.com>
Thu, 5 May 2011 00:15:03 +0000 (20:15 -0400)
committerDave Airlie <airlied@redhat.com>
Sun, 8 May 2011 23:16:05 +0000 (09:16 +1000)
 if object pin or object lookup in radeon_cursor_set fail, the function
 could leave inconsistent mouse width and hight values in radeon_crtc
 fixed by moving cursor width and height assignments after all
 checks have passed

Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com>
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found