]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add saved_bo to save vce 4.0 context when suspend
authorLeo Liu <leo.liu@amd.com>
Wed, 31 May 2017 18:25:54 +0000 (14:25 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 1 Jun 2017 20:00:22 +0000 (16:00 -0400)
commite36ac6c467c73fe5226579c3fb7599e0ecbba8a9
treeb93b22fce53703ef4e3118758786e234153b83ac
parentd3246ccb7ada2a63e26570e1b1ebd29cdfdca691
drm/amdgpu: add saved_bo to save vce 4.0 context when suspend

We are using PSP to resume firmware after suspend, and it is
resumed at where it got suspended, so we'd better save the
the context.

Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.h
drivers/gpu/drm/amd/amdgpu/vce_v4_0.c