summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorMukul Joshi <mukul.joshi@amd.com>2026-08-13 11:02:24 -0400
committerAlex Deucher <alexander.deucher@amd.com>2026-08-19 10:04:17 -0400
commit59db985bc99e0589536a2116b93b0a6c45df41ab (patch)
tree6aa83739039ec251fb5b75dfb6aa9f8ba014b084 /scripts/const_structs.checkpatch
parent6fd83a1c2cdea48c396f600795217fbdfb8124f6 (diff)
downloadlinux-59db985bc99e0589536a2116b93b0a6c45df41ab.tar.gz
linux-59db985bc99e0589536a2116b93b0a6c45df41ab.zip
drm/amdgpu: fix sysfs ip base addr for 64bit in standalone mode
In standalone mode the ip_discovery sysfs tree is built from a verbatim copy of the discovery binary taken before reg_base_init() collapses the 64bit base addresses in place. Decoding as 32bit there yields interleaved zeros. Decode base_address_64[] in that case; keep reading the already collapsed adev->discovery.bin as-is otherwise. Fixes: 402e04f11ff7 ("drm/amdgpu: Export ip_discovery sysfs on probe failure") Cc: stable@vger.kernel.org Signed-off-by: Mukul Joshi <mukul.joshi@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions