]> Gentwo Git Trees - linux/.git/commit
drm/amdgpu: Add PSP fw version check for fw reserve GFX command
authorFrank Min <Frank.Min@amd.com>
Tue, 5 Aug 2025 14:30:54 +0000 (22:30 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 12 Aug 2025 18:13:03 +0000 (14:13 -0400)
commit065e23170a1e09bc9104b761183e59562a029619
treef6f7131b5460ec00ee4f46496af7e0b4965d94db
parentd543489aa1f141901a078dd84daaa16fcab0cf7f
drm/amdgpu: Add PSP fw version check for fw reserve GFX command

The fw reserved GFX command is only supported starting from PSP fw
version 0x3a0e14 and 0x3b0e0d. Older versions do not support this command.

Add a version guard to ensure the command is only used when the running
PSP fw meets the minimum version requirement.

This ensures backward compatibility and safe operation across fw
revisions.

Fixes: a3b7f9c306e1 ("drm/amdgpu: reclaim psp fw reservation memory region")
Signed-off-by: Frank Min <Frank.Min@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c