]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: check PSP support before adding the ip block
authorEvan Quan <evan.quan@amd.com>
Tue, 8 Jan 2019 05:57:29 +0000 (13:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Jan 2019 21:15:35 +0000 (16:15 -0500)
commitf0270bfba6ecd3d66688d0b64de5d5a55377e504
tree3b16bcb698e978e34fe1bf605c3cd142540246f4
parent7d93d6658ff657bf7b816bb9b0a75a0742244ebc
drm/amdgpu: check PSP support before adding the ip block

So that we do not need to check this in every internal function.

Signed-off-by: Evan Quan <evan.quan@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/soc15.c