]> Git Repo - linux.git/commitdiff
drm/amdgpu: Enable persistent edc harvesting in APP APU
authorHawking Zhang <[email protected]>
Sun, 29 Jan 2023 14:48:15 +0000 (22:48 +0800)
committerAlex Deucher <[email protected]>
Fri, 9 Jun 2023 13:53:45 +0000 (09:53 -0400)
Persistent edc harvesting is supported in APP APU

Signed-off-by: Hawking Zhang <[email protected]>
Reviewed-by: Tao Zhou <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c

index 8a16a06cb78a115f640720002837cda41ffb67a5..5ae89602a116106bf3ff464acb321b60745607b3 100644 (file)
@@ -2624,7 +2624,8 @@ release_con:
 
 int amdgpu_persistent_edc_harvesting_supported(struct amdgpu_device *adev)
 {
-       if (adev->gmc.xgmi.connected_to_cpu)
+       if (adev->gmc.xgmi.connected_to_cpu ||
+           adev->gmc.is_app_apu)
                return 1;
        return 0;
 }
This page took 0.06669 seconds and 4 git commands to generate.