drm/amdgpu: Make VRAM discovery read optional
authorLijo Lazar <lijo.lazar@amd.com>
Thu, 1 Dec 2022 11:57:47 +0000 (17:27 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:51:13 +0000 (09:51 -0400)
commit44cbc4534bbe7cc1f7dd25976a044c7a84628978
tree685293cb5c879b87740b24c24a2bb6b74486041e
parentc9a502e981a961053f3f873b14677d95e804251e
drm/amdgpu: Make VRAM discovery read optional

When overridden with module param, directly read discovery info
from discovery binary instead of reading from VRAM.

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