diff options
author | Lijo Lazar <lijo.lazar@amd.com> | 2025-09-18 15:22:04 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-09-23 17:21:09 +0300 |
commit | b29c22b8dafd951664a491bf629e615d81513197 (patch) | |
tree | 6a5cf6db81e68efdee5cf06865d804743968604b /drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c | |
parent | 342f141ba9f4c9e39de342d047a5245e8f4cda19 (diff) | |
download | linux-b29c22b8dafd951664a491bf629e615d81513197.tar.xz |
drm/amdgpu: Fix vbios build number parsing logic
It's not necessary that the build string and atom header section has a
difference of 32 bytes. Use the remaining bytes in the section as copy
limit.
Fixes: d6fa80266178 ("drm/amdgpu: Add vbios build number interface")
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Acked-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_hmm.c')
0 files changed, 0 insertions, 0 deletions