drm/amd/amdgpu: adjust the fw load type list
authorChengming Gui <Jack.Gui@amd.com>
Thu, 17 Feb 2022 11:22:01 +0000 (19:22 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 4 May 2022 14:43:53 +0000 (10:43 -0400)
Use 0 for legacy backdoor and 1 for frontdoor.

Signed-off-by: Chengming Gui <Jack.Gui@amd.com>
Reviewed-by: Likun Gao <Likun.Gao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h

index 4042aa2..4439e01 100644 (file)
@@ -445,8 +445,8 @@ enum AMDGPU_UCODE_STATUS {
 
 enum amdgpu_firmware_load_type {
        AMDGPU_FW_LOAD_DIRECT = 0,
-       AMDGPU_FW_LOAD_SMU,
        AMDGPU_FW_LOAD_PSP,
+       AMDGPU_FW_LOAD_SMU,
        AMDGPU_FW_LOAD_RLC_BACKDOOR_AUTO,
 };