Skip to content

Commit 1478a34

Browse files
superm1alexdeucher
authored andcommitted
drm/amd: Set minimum version for set_hw_resource_1 on gfx11 to 0x52
commit f81cd79 ("drm/amd/amdgpu: Fix MES init sequence") caused a dependency on new enough MES firmware to use amdgpu. This was fixed on most gfx11 and gfx12 hardware with commit 0180e0a ("drm/amdgpu/mes: add compatibility checks for set_hw_resource_1"), but this left out that GC 11.0.4 had breakage at MES 0x51. Bump the requirement to 0x52 instead. Reported-by: [email protected] Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4576 Fixes: f81cd79 ("drm/amd/amdgpu: Fix MES init sequence") Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Mario Limonciello <[email protected]> Signed-off-by: Alex Deucher <[email protected]> (cherry picked from commit c2d2ccc) Cc: [email protected]
1 parent 18f7fcd commit 1478a34

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/amd/amdgpu/mes_v11_0.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1671,7 +1671,7 @@ static int mes_v11_0_hw_init(struct amdgpu_ip_block *ip_block)
16711671
if (r)
16721672
goto failure;
16731673

1674-
if ((adev->mes.sched_version & AMDGPU_MES_VERSION_MASK) >= 0x50) {
1674+
if ((adev->mes.sched_version & AMDGPU_MES_VERSION_MASK) >= 0x52) {
16751675
r = mes_v11_0_set_hw_resources_1(&adev->mes);
16761676
if (r) {
16771677
DRM_ERROR("failed mes_v11_0_set_hw_resources_1, r=%d\n", r);

0 commit comments

Comments
 (0)