drm/amdgpu: Add psp 11.0 support for vega20. (v2)
authorFeifei Xu <Feifei.Xu@amd.com>
Fri, 11 May 2018 06:54:50 +0000 (14:54 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:10:34 +0000 (11:10 -0500)
commit654f761cfa0454bbfdf50d5ed6dc004c92114a97
tree94501dfb03b7f49b00566199463710a6c7bf3660
parenta6637313c7bf013d30fc7d501a19a93fddab7b5f
drm/amdgpu: Add psp 11.0 support for vega20. (v2)

Add psp 11.0 code for vega20 and enable it.  PSP is the
security processor for the GPU.  It handles firmware
loading and GPU resets among other things.

v2: whitespace fix, enable support, adjust reg includes (Alex)

Signed-off-by: Feifei Xu <Feifei.Xu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/Makefile
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/psp_v11_0.h [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/psp_v3_1.c
drivers/gpu/drm/amd/amdgpu/soc15.c