[PATCH] drm/amdgpu: enable Vega20 BACO reset support
Alex Deucher
alexdeucher at gmail.com
Mon Apr 15 04:33:40 UTC 2019
On Mon, Apr 15, 2019 at 12:30 AM Evan Quan <evan.quan at amd.com> wrote:
>
> PSP SOS firmware needs to be 0x80067 or later.
>
> Change-Id: Ia56509c427258e0931dfe55faeac547e96911dd0
> Signed-off-by: Evan Quan <evan.quan at amd.com>
Acked-by: Alex Deucher <alexander.deucher at amd.com>
> ---
> 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 at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
More information about the amd-gfx
mailing list