aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c
diff options
context:
space:
mode:
authorIcenowy Zheng <uwu@icenowy.me>2023-10-08 14:46:49 +0800
committerAlex Deucher <alexander.deucher@amd.com>2023-10-09 17:02:52 -0400
commit219223eca4d8b39486107c62a52c9667016aa3b9 (patch)
treee5db474b44b499c3eba4060d333bf6cd04d192e4 /drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c
parentce862c49957d119782c1b74fccee92bf1ddc1d71 (diff)
downloadlinux-219223eca4d8b39486107c62a52c9667016aa3b9.tar.gz
linux-219223eca4d8b39486107c62a52c9667016aa3b9.tar.bz2
linux-219223eca4d8b39486107c62a52c9667016aa3b9.zip
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: 54c30d2a8def ("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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c')
0 files changed, 0 insertions, 0 deletions