]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: unpin cursor BOs on suspend and pin them again on resume
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 8 Oct 2015 04:03:36 +0000 (00:03 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Oct 2015 20:16:35 +0000 (16:16 -0400)
commitcc0ff535d8b54e701c20a5088dd557d8bbf39ae5
treea6bce16a540df09f39770e9b4c76deaa9390e454
parentac17fe27a454d5330d9ca11ebe4b90b7516a1c2a
drm/amdgpu: unpin cursor BOs on suspend and pin them again on resume

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 e76de095.

Port of radeon commit:
bc2c08babc2852916d2813e06960cc8bc5f2e068

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c