]> Git Repo - linux.git/blobdiff - drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
Merge tag 'mailbox-v4.18' of git://git.linaro.org/landing-teams/working/fujitsu/integ...
[linux.git] / drivers / gpu / drm / amd / amdgpu / amdgpu_atomfirmware.c
index 7014d5875d5ba28edd58a9f4d4526b33d4f4ac51..236915849cfe071dfe039a6cd68bfac22d99d30b 100644 (file)
@@ -354,11 +354,9 @@ int amdgpu_atomfirmware_get_gfx_info(struct amdgpu_device *adev)
                                le16_to_cpu(gfx_info->v24.gc_gsprim_buff_depth);
                        adev->gfx.config.double_offchip_lds_buf =
                                gfx_info->v24.gc_double_offchip_lds_buffer;
-                       adev->gfx.cu_info.wave_front_size = gfx_info->v24.gc_wave_size;
-                       adev->gfx.cu_info.max_waves_per_simd =
-                               le16_to_cpu(gfx_info->v24.gc_max_waves_per_simd);
-                       adev->gfx.cu_info.max_scratch_slots_per_cu =
-                               gfx_info->v24.gc_max_scratch_slots_per_cu;
+                       adev->gfx.cu_info.wave_front_size = le16_to_cpu(gfx_info->v24.gc_wave_size);
+                       adev->gfx.cu_info.max_waves_per_simd = le16_to_cpu(gfx_info->v24.gc_max_waves_per_simd);
+                       adev->gfx.cu_info.max_scratch_slots_per_cu = gfx_info->v24.gc_max_scratch_slots_per_cu;
                        adev->gfx.cu_info.lds_size = le16_to_cpu(gfx_info->v24.gc_lds_size);
                        return 0;
                default:
This page took 0.032435 seconds and 4 git commands to generate.