summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau
diff options
context:
space:
mode:
authorJames Zhu <James.Zhu@amd.com>2023-08-09 23:45:04 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-08-16 22:46:39 +0300
commitb25fdc048cb2250c7e859184f54d3261b55ad099 (patch)
treeb5fb026d7b2452cb1b23fde15787c023ee3be317 /drivers/gpu/drm/nouveau
parentd621114ffba56b032e91ee82d6469b2f9f0b2427 (diff)
downloadlinux-b25fdc048cb2250c7e859184f54d3261b55ad099.tar.xz
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/20230724211428.3831636-1-michal.winiarski@intel.com/T/ libdrm: https://gitlab.freedesktop.org/mesa/drm/-/merge_requests/305 Signed-off-by: James Zhu <James.Zhu@amd.com> Acked-by: Christian König <christian.koenig@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau')
0 files changed, 0 insertions, 0 deletions