Skip to content

Commit 5b3c08a

Browse files
candicelicyalexdeucher
authored andcommitted
Remove unnecessary firmware version check for gc v9_4_2
GC v9_4_2 uses a new versioning scheme for CP firmware, making the warning ("CP firmware version too old, please update!") irrelevant. Signed-off-by: Candice Li <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected]
1 parent 1f86f41 commit 5b3c08a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1269,6 +1269,7 @@ static void gfx_v9_0_check_fw_write_wait(struct amdgpu_device *adev)
12691269
adev->gfx.mec_fw_write_wait = false;
12701270

12711271
if ((amdgpu_ip_version(adev, GC_HWIP, 0) != IP_VERSION(9, 4, 1)) &&
1272+
(amdgpu_ip_version(adev, GC_HWIP, 0) != IP_VERSION(9, 4, 2)) &&
12721273
((adev->gfx.mec_fw_version < 0x000001a5) ||
12731274
(adev->gfx.mec_feature_version < 46) ||
12741275
(adev->gfx.pfp_fw_version < 0x000000b7) ||

0 commit comments

Comments
 (0)