Re: [PATCH] drm/amdgpu: Fix buffer size in gfx_v9_4_3_init_ cp_compute_microcode() and rlc_microcode()

2024-04-24 Thread Lazar, Lijo
On 4/23/2024 7:13 AM, Srinivasan Shanmugam wrote: > The buffer size is determined by the declaration char fw_name[30]; This > means fw_name can hold up to 30 characters, including the null character > that marks the end of the string. > > The string to be written is "amdgpu/%s_mec.bin" or

[PATCH] drm/amdgpu: Fix buffer size in gfx_v9_4_3_init_ cp_compute_microcode() and rlc_microcode()

2024-04-22 Thread Srinivasan Shanmugam
The buffer size is determined by the declaration char fw_name[30]; This means fw_name can hold up to 30 characters, including the null character that marks the end of the string. The string to be written is "amdgpu/%s_mec.bin" or "amdgpu/%s_rlc.bin", where %s will be replaced by the value of

[PATCH] drm/amdgpu: Fix buffer size in gfx_v9_4_3_init_ cp_compute_microcode() and rlc_microcode()

2024-04-22 Thread Srinivasan Shanmugam
The buffer size is determined by the declaration char fw_name[30]; This means fw_name can hold up to 30 characters, including the null character that marks the end of the string. The string to be written is "amdgpu/%s_mec.bin" or "amdgpu/%s_rlc.bin", where %s will be replaced by the value of