aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
diff options
context:
space:
mode:
authorJames Zhu <[email protected]>2023-08-09 20:45:04 +0000
committerAlex Deucher <[email protected]>2023-08-16 15:34:11 +0000
commit400a39f1ec43d283b730c25b448dab3abb66886b (patch)
tree0054558df4bbd33b17626bf9b124df40079a103f /drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
parentdrm/amd/pm: Update pci link width for smu v13.0.6 (diff)
downloadkernel-400a39f1ec43d283b730c25b448dab3abb66886b.tar.gz
kernel-400a39f1ec43d283b730c25b448dab3abb66886b.zip
drm/amdgpu: skip xcp drm device allocation when out of drm resource
Return 0 when drm device alloc failed with -ENOSPC in order to allow amdgpu drive loading. But the xcp without drm device node assigned won't be visiable in user space. This helps amdgpu driver loading on system which has more than 64 nodes, the current limitation. The proposal to add more drm nodes is discussed in public, which will support up to 2^20 nodes totally. kernel drm: https://lore.kernel.org/lkml/[email protected]/T/ libdrm: https://gitlab.freedesktop.org/mesa/drm/-/merge_requests/305 Signed-off-by: James Zhu <[email protected]> Acked-by: Christian König <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c')
0 files changed, 0 insertions, 0 deletions