Re: [PATCH] drm/amdgpu: enable Vega20 BACO reset support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 15, 2019 at 12:30 AM Evan Quan <evan.quan@xxxxxxx> wrote:
>
> PSP SOS firmware needs to be 0x80067 or later.
>
> Change-Id: Ia56509c427258e0931dfe55faeac547e96911dd0
> Signed-off-by: Evan Quan <evan.quan@xxxxxxx>

Acked-by: Alex Deucher <alexander.deucher@xxxxxxx>

> ---
>  drivers/gpu/drm/amd/amdgpu/soc15.c | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
> index bdb5ad93990d..a136632bf91c 100644
> --- a/drivers/gpu/drm/amd/amdgpu/soc15.c
> +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
> @@ -470,6 +470,12 @@ static int soc15_asic_reset(struct amdgpu_device *adev)
>         case CHIP_VEGA12:
>                 soc15_asic_get_baco_capability(adev, &baco_reset);
>                 break;
> +       case CHIP_VEGA20:
> +               if (adev->psp.sos_fw_version >= 0x80067)
> +                       soc15_asic_get_baco_capability(adev, &baco_reset);
> +               else
> +                       baco_reset = false;
> +               break;
>         default:
>                 baco_reset = false;
>                 break;
> --
> 2.21.0
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
amd-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/amd-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux