drm/amdgpu: add PSP driver for vega10 (v2)
authorHuang Rui <ray.huang@amd.com>
Fri, 3 Mar 2017 23:37:23 +0000 (18:37 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:54:48 +0000 (23:54 -0400)
commit0e5ca0d1ac07ef8b3a52d3b0404482207cb4da5a
treef3fb189ffa872cbe031a3d369b30478e65cd98b4
parentc1dc356a116c992433c5c68e7c493b0fa3e6f9b1
drm/amdgpu: add PSP driver for vega10 (v2)

PSP is responsible for firmware loading on SOC-15 asics.

v2: fix memory leak (Ken)

Acked-by: Christian König <christian.koenig@amd.com>
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/Makefile
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/psp_gfx_if.h [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/psp_v3_1.c [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/psp_v3_1.h [new file with mode: 0644]
drivers/gpu/drm/amd/include/amd_shared.h