drm/amdgpu: Read discovery info from system memory
authorLijo Lazar <lijo.lazar@amd.com>
Mon, 30 Jan 2023 04:08:09 +0000 (09:38 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:55:42 +0000 (09:55 -0400)
commit368bb1bcfb3a3bc70793cd347abe0bc60c01d94b
tree521b6904f1b9152bbba175ec4972b5bf3a1c1df6
parent6e01882267a696b022cfe3473a0d3e5ccbe54010
drm/amdgpu: Read discovery info from system memory

On certain ASICs, discovery info is available at reserved region in system
memory. The location is available through ACPI interface. Add API to read
discovery info from there.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c