drm/amdgpu: use adev->firmware to determine whether to load the PSP module
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Mar 2018 20:19:44 +0000 (15:19 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Mar 2018 21:01:16 +0000 (16:01 -0500)
commit454bbbf915cd089d326cf39a1929bb8cee47d1d4
treee4e0a7b6930b3826dbb29840482b486c4f873130
parent19aede779138c0514b8e96c24473f22aaf21be65
drm/amdgpu: use adev->firmware to determine whether to load the PSP module

The per device firmware load method is limited to what makes sense for
that asic rather than whatever arbitrary value may have been set by the
user.

Reviewed-by: Rex Zhu <rezhu@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15.c