aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorIcenowy Zheng <[email protected]>2023-10-08 14:46:49 +0800
committerAlex Deucher <[email protected]>2023-10-09 17:59:29 -0400
commit3806a8c64794661b15ff5ed28180ff9a5f79fce8 (patch)
tree1e84fe2ea1c2e1327559da328115848a33cb7f22 /scripts/gdb/linux/utils.py
parentff89f064dca38e2203790bf876cc7756b8ab2961 (diff)
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 <[email protected]> Signed-off-by: Icenowy Zheng <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions