Skip to content
Commit 70b64073 authored by Qiang Yu's avatar Qiang Yu Committed by Alex Deucher
Browse files

drm: fix multi GPU drmGetDevices only return one device



When multi GPU present, after drmFoldDuplicatedDevices
merge same busid deveces, two different devices may be
seperated by zero in local_devices[]. The for loop
should check all local_devices instead of exit when
meet a zero.

Reviewed-by: default avatarJim Qu <Jim.Qu@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarQiang Yu <Qiang.Yu@amd.com>
parent 361d0a88
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment