drm/amdgpu: Disable ACA on VFs
authorVictor Skvortsov <victor.skvortsov@amd.com>
Wed, 2 Apr 2025 21:35:56 +0000 (17:35 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 8 Apr 2025 20:48:14 +0000 (16:48 -0400)
commit3394069e7de984ea3a4c2c68bf69b65f1c0aa658
tree091251aaad1f97587d7ee56845d9d051ef274462
parent9040e657dc1c243b89e089a2fd83a84e041d9706
drm/amdgpu: Disable ACA on VFs

VFs query RAS error counts directly from host with
AMDGPU_RAS_VIRT_ERROR_COUNT_QUERY. When ACA is enabled,
an unusable aca_sysfs is created rather than amdgpu_ras_sysfs_create()

Likewise, VFs depend on host support to query CPERs, rather than ACA component.

Signed-off-by: Victor Skvortsov <victor.skvortsov@amd.com>
Reviewed-by: Zhigang Luo <Zhigang.luo@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cper.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c