OSDN Git Service

drm/amdgpu: add autoload_supported check for RLC autoload
authorLang Yu <Lang.Yu@amd.com>
Mon, 12 Jul 2021 02:51:15 +0000 (10:51 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Jul 2021 14:08:02 +0000 (10:08 -0400)
commit7fd74ad88054c99e78cfc81afab99d3fff8ca29c
tree7bb8204276cfad4f7b48e50512e18b9803814170
parent641df09904876d0f5be6e991eafc27353b90e218
drm/amdgpu: add autoload_supported check for RLC autoload

Asic cyan_skilfish2 won't support RLC autoload when using
front door loading. We just use PSP to load firmware like
gfx9 here.

So add autoload_supported flag check instead of just
checking firmware load type for RLC autoload.

Signed-off-by: Lang Yu <Lang.Yu@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c