From: Le.Ma Date: Thu, 26 Apr 2018 08:15:39 +0000 (+0800) Subject: drm/amdgpu: add fw load type flag for rlc autoload X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5cc036a84705f14b5c071c7ed66b4c2be286d4f8;p=openwrt%2Fstaging%2Fblogic.git drm/amdgpu: add fw load type flag for rlc autoload 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 Reviewed-by: Alex Deucher Reviewed-by: Hawking Zhang Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h index 1347d3e3cea6..77ec68787c3e 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h @@ -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 */