提交 109c80dd 编写于 作者: H Hawking Zhang 提交者: Alex Deucher

drm/amdgpu: add gpu_info_firmware v1_1 structure for navi10

two new members that specific for navi10 are included in v2_0:
num_sc_per_sh and num_packer_per_sc
Signed-off-by: NHawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: NAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 23c6268e
...@@ -161,6 +161,12 @@ struct gpu_info_firmware_v1_0 { ...@@ -161,6 +161,12 @@ struct gpu_info_firmware_v1_0 {
uint32_t gc_lds_size; uint32_t gc_lds_size;
}; };
struct gpu_info_firmware_v1_1 {
struct gpu_info_firmware_v1_0 v1_0;
uint32_t num_sc_per_sh;
uint32_t num_packer_per_sc;
};
/* version_major=1, version_minor=0 */ /* version_major=1, version_minor=0 */
struct gpu_info_firmware_header_v1_0 { struct gpu_info_firmware_header_v1_0 {
struct common_firmware_header header; struct common_firmware_header header;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册