[PATCH] drm/radeon: fix order of doing things in radeon_crtc_cursor_set

2011-05-04 Thread Alex Deucher
On Wed, May 4, 2011 at 8:15 PM, Ilija Hadzic wrote: > ?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-

[PATCH] drm/radeon: fix order of doing things in radeon_crtc_cursor_set

2011-05-04 Thread Ilija Hadzic
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 --- drivers/gpu/drm/radeon/radeon_cursor.c

Re: [PATCH] drm/radeon: fix order of doing things in radeon_crtc_cursor_set

2011-05-04 Thread Alex Deucher
On Wed, May 4, 2011 at 8:15 PM, Ilija Hadzic wrote: >  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-

[PATCH] drm/radeon: fix order of doing things in radeon_crtc_cursor_set

2011-05-04 Thread Ilija Hadzic
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 --- drivers/gpu/drm/radeon/radeon_cursor.c