[PATCH] Revert "drm/amdgpu: During compute disable GFXOFF for Sienna_Cichlid"

Alex Deucher alexdeucher at gmail.com
Thu Mar 11 16:13:05 UTC 2021


On Tue, Mar 9, 2021 at 11:46 AM Harish Kasiviswanathan
<Harish.Kasiviswanathan at amd.com> wrote:
>
> This reverts commit 73bf5cad2696fe3a21f70101821405db839ea18e.
>
> Fixed in newer firmware
>
> Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan at amd.com>

Acked-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 7 -------
>  1 file changed, 7 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
> index fa27262b5c2a..1c6be53313a8 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
> @@ -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);
> --
> 2.25.1
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


More information about the amd-gfx mailing list