]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: New interface to get IP discovery binary v3
authorHawking Zhang <Hawking.Zhang@amd.com>
Mon, 9 Feb 2026 20:08:54 +0000 (04:08 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Mar 2026 17:58:07 +0000 (13:58 -0400)
commit01bdc7e219c4e10166a2eb4642e9e55af33b8ff5
tree2447dd747181494e855f19986e6d3858feb336cf
parent47ab777c16c71ba033325593cd833bded65f5943
drm/amdgpu: New interface to get IP discovery binary v3

Implement a driver path to read the IP discovery
binary offset and size from DRIVER_SCRATCH registers
BIOS signals usage by setting a feature flag that
instructs the driver to use this method. Otherwise,
fallback to legacy approach.

v2: Simplify discovery offset/size retrieval in
get_tmr_info

v3: Update get_tmr_info to cover discovery offset
and size retrieval for both bare-metal and sriov

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Likun Gao <Likun.Gao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.h