Revert "drm/amdgpu: During compute disable GFXOFF for Sienna_Cichlid"
authorHarish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Tue, 9 Mar 2021 16:41:09 +0000 (11:41 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Mar 2021 03:29:05 +0000 (23:29 -0400)
This reverts commit 73bf5cad2696fe3a21f70101821405db839ea18e.

Fixed in newer firmware

Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c

index fa27262b5c2a29a2128d994d99f3771807e45786..1c6be53313a83b711481f2251954b531e682d257 100644 (file)
@@ -639,13 +639,6 @@ void amdgpu_amdkfd_set_compute_idle(struct kgd_dev *kgd, bool idle)
 {
        struct amdgpu_device *adev = (struct amdgpu_device *)kgd;
 
-       /* Temp workaround to fix the soft hang observed in certain compute
-        * applications if GFXOFF is enabled.
-        */
-       if (adev->asic_type == CHIP_SIENNA_CICHLID) {
-               pr_debug("GFXOFF is %s\n", idle ? "enabled" : "disabled");
-               amdgpu_gfx_off_ctrl(adev, idle);
-       }
        amdgpu_dpm_switch_power_profile(adev,
                                        PP_SMC_POWER_PROFILE_COMPUTE,
                                        !idle);