diff options
author | Hawking Zhang <Hawking.Zhang@amd.com> | 2017-06-09 10:30:52 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-06-15 11:50:22 -0400 |
commit | 51fd0370677733785b1f5f31057a12738386ee25 (patch) | |
tree | fd9696b670e205726ec4695c18554801082b7f8c /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | d0c55cdf4fc02483a4851f86e3f010a061d8c9cc (diff) |
drm/amdgpu: add new member in gpu_info fw
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index de2abef922f5..5d6175ede20b 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |||
@@ -1480,6 +1480,11 @@ static int amdgpu_device_parse_gpu_info_fw(struct amdgpu_device *adev) | |||
1480 | adev->gfx.config.double_offchip_lds_buf = | 1480 | adev->gfx.config.double_offchip_lds_buf = |
1481 | le32_to_cpu(gpu_info_fw->gc_double_offchip_lds_buffer); | 1481 | le32_to_cpu(gpu_info_fw->gc_double_offchip_lds_buffer); |
1482 | adev->gfx.cu_info.wave_front_size = le32_to_cpu(gpu_info_fw->gc_wave_size); | 1482 | adev->gfx.cu_info.wave_front_size = le32_to_cpu(gpu_info_fw->gc_wave_size); |
1483 | adev->gfx.cu_info.max_waves_per_simd = | ||
1484 | le32_to_cpu(gpu_info_fw->gc_max_waves_per_simd); | ||
1485 | adev->gfx.cu_info.max_scratch_slots_per_cu = | ||
1486 | le32_to_cpu(gpu_info_fw->gc_max_scratch_slots_per_cu); | ||
1487 | adev->gfx.cu_info.lds_size = le32_to_cpu(gpu_info_fw->gc_lds_size); | ||
1483 | break; | 1488 | break; |
1484 | } | 1489 | } |
1485 | default: | 1490 | default: |