drm/amd/amdgpu/imu_v11_0: Increase buffer size to ensure all possible values can...
authorjsg <jsg@openbsd.org>
Fri, 30 Aug 2024 03:52:18 +0000 (03:52 +0000)
committerjsg <jsg@openbsd.org>
Fri, 30 Aug 2024 03:52:18 +0000 (03:52 +0000)
From Lee Jones
695f692bcd72b5bd188a9ae903d2a3ec99df467c in linux-6.6.y/6.6.48
a728342ae4ec2a7fdab0038b11427579424f133e in mainline linux

sys/dev/pci/drm/amd/amdgpu/imu_v11_0.c

index 4ab90c7..ca123ff 100644 (file)
@@ -39,7 +39,7 @@ MODULE_FIRMWARE("amdgpu/gc_11_0_4_imu.bin");
 
 static int imu_v11_0_init_microcode(struct amdgpu_device *adev)
 {
-       char fw_name[40];
+       char fw_name[45];
        char ucode_prefix[30];
        int err;
        const struct imu_firmware_header_v1_0 *imu_hdr;