]> 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)
commit3571c7b91d842b26506bedb1aa28a84ec7114ade
treeb93b22fce53703ef4e3118758786e234153b83ac
parent4b4c90a7fc6afe44bd352607bae97574b669ac1d
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