drm/amdgpu: add nbio callback to query rom offset
authorHawking Zhang <Hawking.Zhang@amd.com>
Sat, 8 Jan 2022 09:18:37 +0000 (17:18 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Apr 2022 21:48:32 +0000 (17:48 -0400)
commitfb1d6835137369d6776c3141593b5b33369f3ca3
tree94e17633f46bcaf7edeed589fda6709800d8bba0
parentf33ac92f9c010be84ecbbec7e30990012be806e8
drm/amdgpu: add nbio callback to query rom offset

Add nbio callback func used to query rom offset.
Used to query the rom offset for fetching the vbios.

Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c
drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h