drm/amdgpu/gfx10: require to pin/unpin CSIB BO when suspend/resume
authorJack Xiao <Jack.Xiao@amd.com>
Mon, 6 May 2019 10:55:23 +0000 (18:55 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:29 +0000 (18:59 -0500)
commitbbd7a6535002289d3ddaf30b8377b492983712df
treedba9f6927e3a3d97d1f8fe17ba613d1b51bd108a
parent2c195b6cac59e2d60b75ac20379a7a48f5185c2c
drm/amdgpu/gfx10: require to pin/unpin CSIB BO when suspend/resume

CSIB BO is required to be pinned down to guarantee
bo is always valid when resume, and to be unpinned it
so that its content can be saved during suspend.

Signed-off-by: Jack Xiao <Jack.Xiao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c