[PATCH 4/4] drm/radeon: unpin cursor BOs before suspend

2015-07-03 Thread Michel Dänzer
On 03.07.2015 17:16, Grigori Goronzy wrote: > On 2015-07-03 05:30, Michel Dänzer wrote: >> >> On resume, the cursor BO is currently pinned again by >> radeon_cursor_reset -> radeon_set_cursor. However, radeon_cursor_reset >> is also called when changing the video mode, in which case it causes the

[PATCH 4/4] drm/radeon: unpin cursor BOs before suspend

2015-07-03 Thread Michel Dänzer
[ Dropping stable at vger.kernel.org from Cc; the patch will be picked up for stable after it lands in Linus' tree ] On 03.07.2015 08:54, Grigori Goronzy wrote: > Everything is evicted from VRAM before suspend, so we need to make > sure all BOs are unpinned and re-pinned after resume. Fixes broke

[PATCH 4/4] drm/radeon: unpin cursor BOs before suspend

2015-07-03 Thread Grigori Goronzy
On 2015-07-03 05:30, Michel Dänzer wrote: > > This could be done in the same loop as the front buffers. > Sure, I just thought it looks cleaner this way. > On resume, the cursor BO is currently pinned again by > radeon_cursor_reset -> radeon_set_cursor. However, radeon_cursor_reset > is also c

[PATCH 4/4] drm/radeon: unpin cursor BOs before suspend

2015-07-03 Thread Grigori Goronzy
Everything is evicted from VRAM before suspend, so we need to make sure all BOs are unpinned and re-pinned after resume. Fixes broken mouse cursor after resume introduced by commit b9729b17. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=100541 Cc: stable at vger.kernel.org Signed-off-by: G