]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/amdgpu/psp: use a function pointer structure
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 23 Jan 2018 21:17:24 +0000 (16:17 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:18:31 +0000 (14:18 -0500)
commite7f9ccb43729a2abdd90a67c605ccea7ba82d01f
tree32459459d53834679a2e1091a96c80f0bb1824bf
parent97745f68520df38d9ffb8bd6cb0fa70c047a2c2c
drm/amdgpu/psp: use a function pointer structure

This way we can make all of the IP specific functions static,
and we only need a single entry point into the PSP IP modules.

Reviewed-by: Christian König <christian.koenig@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_v10_0.c
drivers/gpu/drm/amd/amdgpu/psp_v10_0.h
drivers/gpu/drm/amd/amdgpu/psp_v3_1.c
drivers/gpu/drm/amd/amdgpu/psp_v3_1.h