drm/amdgpu: split psp ring init function
authorHuang Rui <ray.huang@amd.com>
Tue, 21 Mar 2017 10:36:57 +0000 (18:36 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 28 Apr 2017 20:37:58 +0000 (16:37 -0400)
commitbe70bbda3fb9a1b876ed80e2ebc292203eb0ffec
tree83febc7694ed4883345b6de9efad1e7dc1fac6f4
parentf5cfef98f736f9aa42e9ad41e67b5abd96b77835
drm/amdgpu: split psp ring init function

Rework in order to properly support suspend.

Signed-off-by: Huang Rui <ray.huang@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_psp.c
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h
drivers/gpu/drm/amd/amdgpu/psp_v3_1.c
drivers/gpu/drm/amd/amdgpu/psp_v3_1.h