Skip to content

Commit b013c68

Browse files
Jie1zhanggregkh
authored andcommitted
drm/amdgpu: update firmware version checks for user queue support
commit ee38ea0 upstream. The minimum firmware versions required for user queue functionality have been increased to address an issue where the queue privilege state was lost during queue connect operations. The problem occurred because the privilege state was being restored to its initial value at the beginning of the function, overwriting the state that was properly set during the queue connect case. This commit updates the minimum version requirements: - ME firmware from 2390 to 2420 - PFP firmware from 2530 to 2580 - MEC firmware from 2600 to 2650 - MES firmware remains at 120 These updated firmware versions contain the necessary fixes to properly maintain queue privilege state throughout connect operations. Fixes: 61ca97e ("drm/amdgpu: Add fw minimum version check for usermode queue") Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 5f976c9) Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 3f46d1d commit b013c68

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1612,9 +1612,9 @@ static int gfx_v11_0_sw_init(struct amdgpu_ip_block *ip_block)
16121612
case IP_VERSION(11, 0, 2):
16131613
case IP_VERSION(11, 0, 3):
16141614
if (!adev->gfx.disable_uq &&
1615-
adev->gfx.me_fw_version >= 2390 &&
1616-
adev->gfx.pfp_fw_version >= 2530 &&
1617-
adev->gfx.mec_fw_version >= 2600 &&
1615+
adev->gfx.me_fw_version >= 2420 &&
1616+
adev->gfx.pfp_fw_version >= 2580 &&
1617+
adev->gfx.mec_fw_version >= 2650 &&
16181618
adev->mes.fw_version[0] >= 120) {
16191619
adev->userq_funcs[AMDGPU_HW_IP_GFX] = &userq_mes_funcs;
16201620
adev->userq_funcs[AMDGPU_HW_IP_COMPUTE] = &userq_mes_funcs;

0 commit comments

Comments
 (0)