]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amdgpu: fix initialization of doorbell array for detect and hang
authorJonathan Kim <jonathan.kim@amd.com>
Thu, 9 Oct 2025 14:48:09 +0000 (10:48 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 Oct 2025 18:14:28 +0000 (14:14 -0400)
commit8745ca5efb2aad0b6591d9b8cd48573ea49c929d
treea1b311b963374274afa9913dc16a8f0dcd586790
parentd0de79f66a80eeb849033fae34bd07a69ce72235
drm/amdgpu: fix initialization of doorbell array for detect and hang

Initialized doorbells should be set to invalid rather than 0 to prevent
driver from over counting hung doorbells since it checks against the
invalid value to begin with.

Signed-off-by: Jonathan Kim <jonathan.kim@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c