summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-08-30 03:52:19 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-08-30 03:52:19 +0000
commitd687f74871663e899275a31697576eed425c3153 (patch)
tree4ec5ec57cf735a50b25474cfbdef5b65c5d35fde /sys
parente93289688d0ed175bbc5ae31ade55d20725a4a85 (diff)
drm/amd/amdgpu/imu_v11_0: Increase buffer size to ensure all possible values can be stored
From Lee Jones 695f692bcd72b5bd188a9ae903d2a3ec99df467c in linux-6.6.y/6.6.48 a728342ae4ec2a7fdab0038b11427579424f133e in mainline linux
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/drm/amd/amdgpu/imu_v11_0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/amd/amdgpu/imu_v11_0.c b/sys/dev/pci/drm/amd/amdgpu/imu_v11_0.c
index 4ab90c7852c..ca123ff5534 100644
--- a/sys/dev/pci/drm/amd/amdgpu/imu_v11_0.c
+++ b/sys/dev/pci/drm/amd/amdgpu/imu_v11_0.c
@@ -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;