]> asedeno.scripts.mit.edu Git - linux.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)
commit3680b2a5b6d92747b3293ccc6783da29574147f1
tree3b16bcb698e978e34fe1bf605c3cd142540246f4
parentfe96b99dc72b16e3c8406ab17fe9e73e0aef1bd9
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