[PATCH 1/3] drm/radeon: Clean up reference counting and pinning of the cursor BOs

2015-07-08 Thread Grigori Goronzy
On 2015-07-07 09:27, Michel Dänzer wrote: > From: Michel Dänzer > > Take a GEM reference for and pin the new cursor BO, unpin and drop the > GEM reference for the old cursor BO in radeon_crtc_cursor_set2, and use > radeon_crtc->cursor_addr in radeon_set_cursor. > > This fixes radeon_cursor_res

[PATCH 1/3] drm/radeon: Clean up reference counting and pinning of the cursor BOs

2015-07-07 Thread Michel Dänzer
From: Michel Dänzer Take a GEM reference for and pin the new cursor BO, unpin and drop the GEM reference for the old cursor BO in radeon_crtc_cursor_set2, and use radeon_crtc->cursor_addr in radeon_set_cursor. This fixes radeon_cursor_reset accidentally incrementing the cursor BO pin count, and