diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2023-12-12 01:09:16 -0600 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-12-13 16:50:20 -0500 |
commit | 2c7300d357a213d4a4bda691d1d5c06251e552d0 (patch) | |
tree | 1653f637c786ce46005095ef9618d754ba505edc /scripts/gdb/linux/utils.py | |
parent | ab4750332dbe535243def5dcebc24ca00c1f98ac (diff) |
drm/amd: Fix a probing order problem on SDMA 2.4
commit 751e293f2c99 ("drm/amd: Move microcode init from sw_init to
early_init for SDMA v2.4") made a fateful mistake in
`adev->sdma.num_instances` wasn't declared when sdma_v2_4_init_microcode()
was run. This caused probing to fail.
Move the declaration to right before sdma_v2_4_init_microcode().
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3043
Fixes: 751e293f2c99 ("drm/amd: Move microcode init from sw_init to early_init for SDMA v2.4")
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions