]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: unpin cursor BOs on suspend and pin them again on resume (v2)
authorGrigori Goronzy <greg@chown.ath.cx>
Tue, 7 Jul 2015 07:27:29 +0000 (16:27 +0900)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Jul 2015 15:40:01 +0000 (11:40 -0400)
commit8a646306014deb3b4e2e6488db56cb5b8b48dfc3
treeacc5a1c7b87e4c8610df0a224ce22d77535f7316
parent2216109db529d06bb5930f072df40a0daa929cfe
drm/radeon: unpin cursor BOs on suspend and pin them again on resume (v2)

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 5c48f0a5.

[Michel Dänzer: Add pinning BOs on resume]

v2:
[Alex Deucher: merge cursor unpin into fb unpin loop]

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=100541
Cc: stable@vger.kernel.org
Reviewed-by: Christian König <christian.koenig@amd.com> (v1)
Signed-off-by: Grigori Goronzy <greg@chown.ath.cx>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_device.c