drm/amdgpu: add fw load type flag for rlc autoload
authorLe.Ma <Le.Ma@amd.com>
Thu, 26 Apr 2018 08:15:39 +0000 (16:15 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 02:36:11 +0000 (21:36 -0500)
Add another firmware load type AMDGPU_FW_LOAD_RLC_AUTO to support firmware
autoloading new feature in gfx10.

This flag can be leveraged for future engines that need autoload fw.

Signed-off-by: Le.Ma <Le.Ma@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h

index 1347d3e3cea65def2109fccf275aecc98fef0a44..77ec68787c3e96f1d90c73ca78814194793e56e9 100644 (file)
@@ -238,6 +238,7 @@ enum amdgpu_firmware_load_type {
        AMDGPU_FW_LOAD_DIRECT = 0,
        AMDGPU_FW_LOAD_SMU,
        AMDGPU_FW_LOAD_PSP,
+       AMDGPU_FW_LOAD_RLC_AUTO,
 };
 
 /* conform to smu_ucode_xfer_cz.h */