diff options
| author | Mario Limonciello <[email protected]> | 2023-12-12 07:09:16 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-12-13 20:28:55 +0000 |
| commit | c01b9be7b20999bfeaacc1e574be0db93c14c478 (patch) | |
| tree | 67acdd6ead73121301458c8c44bf45b46081c323 /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h | |
| parent | drm/amdgpu: Switch to aca bank for xgmi pcs err cnt (diff) | |
| download | kernel-c01b9be7b20999bfeaacc1e574be0db93c14c478.tar.gz kernel-c01b9be7b20999bfeaacc1e574be0db93c14c478.zip | |
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 <[email protected]>
Signed-off-by: Mario Limonciello <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h')
0 files changed, 0 insertions, 0 deletions
