drm/amdgpu: Add SOC_V1_0_DIE_REV_AID() helper

Add a helper to extract the AID revision from adev->rev_id, matching
the existing SOC_V1_0_DIE_REV_XCD(), and use it instead of open-coded
rev_id bit checks for AID A1 in gmc_v12_1 and kfd_svm.

Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Reviewed-by: David Yat Sin <david.yatsin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Mukul Joshi 2026-09-28 16:40:04 -04:00 • committed by Alex Deucher
commit 9a0cdbdb08
3 changed files with 6 additions and 2 deletions