Commit 3cfaadbe authored by Likun Gao's avatar Likun Gao Committed by Alex Deucher

drm/amdgpu: add support for atom fw version v3_5

Support for atom_firmware_info_v3_5.
Signed-off-by: default avatarLikun Gao <Likun.Gao@amd.com>
Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 765bea0d
...@@ -34,6 +34,7 @@ union firmware_info { ...@@ -34,6 +34,7 @@ union firmware_info {
struct atom_firmware_info_v3_2 v32; struct atom_firmware_info_v3_2 v32;
struct atom_firmware_info_v3_3 v33; struct atom_firmware_info_v3_3 v33;
struct atom_firmware_info_v3_4 v34; struct atom_firmware_info_v3_4 v34;
struct atom_firmware_info_v3_5 v35;
}; };
/* /*
...@@ -872,6 +873,10 @@ int amdgpu_atomfirmware_get_fw_reserved_fb_size(struct amdgpu_device *adev) ...@@ -872,6 +873,10 @@ int amdgpu_atomfirmware_get_fw_reserved_fb_size(struct amdgpu_device *adev)
fw_reserved_fb_size = fw_reserved_fb_size =
(firmware_info->v34.fw_reserved_size_in_kb << 10); (firmware_info->v34.fw_reserved_size_in_kb << 10);
break; break;
case 5:
fw_reserved_fb_size =
(firmware_info->v35.fw_reserved_size_in_kb << 10);
break;
default: default:
fw_reserved_fb_size = 0; fw_reserved_fb_size = 0;
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment