mirror_ubuntu-kernels/drivers/gpu/drm/amd
Icenowy Zheng 3806a8c647 drm/amdgpu: fix SI failure due to doorbells allocation
SI hardware does not have doorbells at all, however currently the code
will try to do the allocation and thus fail, makes SI AMDGPU not usable.

Fix this failure by skipping doorbells allocation when doorbells count
is zero.

Fixes: 54c30d2a8d ("drm/amdgpu: create kernel doorbell pages")
Reviewed-by: Shashank Sharma <shashank.sharma@amd.com>
Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-10-09 17:59:29 -04:00
..
acp
amdgpu drm/amdgpu: fix SI failure due to doorbells allocation 2023-10-09 17:59:29 -04:00
amdkfd drm/amdkfd: Use gpu_offset for user queue's wptr 2023-09-20 17:30:42 -04:00
amdxcp drm/amdxcp: fix Makefile to build amdxcp module 2023-06-09 12:32:53 -04:00
display drm/amd/display: Don't set dpms_off for seamless boot 2023-10-09 17:59:29 -04:00
include drm/amdgpu: Store CU info from all XCCs for GFX v9.4.3 2023-09-11 18:16:31 -04:00
pm drm/amd: Fix logic error in sienna_cichlid_update_pcie_parameters() 2023-10-04 22:52:05 -04:00