drm/amdgpu: add an option to override IP discovery table from a file
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 17 Sep 2021 15:23:45 +0000 (11:23 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Oct 2021 19:23:02 +0000 (15:23 -0400)
commita79d3709c40d492fb859fb5cec4bb0b3eaa09a12
treecef4f6a35eff64e77c1a571f0c1e2bd20c168568
parentc868d58442ebff350bbb25e38fe4f62c0682129f
drm/amdgpu: add an option to override IP discovery table from a file

If you set amdgpu.discovery=2 you can force the the driver to
fetch the IP discovery table from a file rather than from the
table shipped on the device.  This is useful for debugging and
for device bring up and emulation when the tables may be in flux.

Reviewed-by: Christian König <christian.koenig@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_drv.c