]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite9c031916540cf4762287a4834132223728dcb6d
treedba9f6927e3a3d97d1f8fe17ba613d1b51bd108a
parente21bf1ce3f817f33dbfaa79a7cc2ad936ac9f59d
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