]> www.infradead.org Git - users/hch/configfs.git/commit
drm/amdgpu: Fix discovery initialization failure during pci rescan
authorMa Jun <Jun.Ma2@amd.com>
Tue, 2 Apr 2024 09:21:01 +0000 (17:21 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 17 Apr 2024 02:39:15 +0000 (22:39 -0400)
commit959056982a9b46758e0582bc6724b6ef51012e91
tree442f34090fea1d6d274346ef80dd7df06a03477b
parent394ae0603a6764d36437a26c097ef549e0eee1ff
drm/amdgpu: Fix discovery initialization failure during pci rescan

Waiting for system ready to fix the discovery initialization
failure issue. This failure usually occurs when dGPU is removed
and then rescanned via command line.
It's caused by following two errors:
[1] vram size is 0
[2] wrong binary signature

Signed-off-by: Ma Jun <Jun.Ma2@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c