mirror_ubuntu-kernels/drivers/gpu/drm/amd
James Zhu 400a39f1ec 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>
2023-08-16 11:34:11 -04:00
..
acp
amdgpu drm/amdgpu: skip xcp drm device allocation when out of drm resource 2023-08-16 11:34:11 -04:00
amdkfd drm/amdgpu: skip xcp drm device allocation when out of drm resource 2023-08-16 11:34:11 -04:00
amdxcp drm/amdxcp: fix Makefile to build amdxcp module 2023-06-09 12:32:53 -04:00
display drm/amd/display: Handle Replay related hpd irq 2023-08-16 11:33:59 -04:00
include drm/amd: Rename AMDGPU_PP_SENSOR_GPU_POWER 2023-08-15 18:08:30 -04:00
pm drm/amd/pm: Update pci link width for smu v13.0.6 2023-08-16 11:34:00 -04:00