[PATCH 08/10] drm/amdgpu: Support reset-on-init on select SOCs

Alex Deucher alexdeucher at gmail.com
Mon Sep 9 21:37:18 UTC 2024


On Mon, Sep 2, 2024 at 3:34 AM Lijo Lazar <lijo.lazar at amd.com> wrote:
>
> Add XGMI reset on init support to aldebaran and SOCs with GC v9.4.3.
>
> Signed-off-by: Lijo Lazar <lijo.lazar at amd.com>

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

> ---
>  drivers/gpu/drm/amd/amdgpu/aldebaran.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/aldebaran.c b/drivers/gpu/drm/amd/amdgpu/aldebaran.c
> index b0f95a7649bf..119acd9fc6cd 100644
> --- a/drivers/gpu/drm/amd/amdgpu/aldebaran.c
> +++ b/drivers/gpu/drm/amd/amdgpu/aldebaran.c
> @@ -417,6 +417,7 @@ static struct amdgpu_reset_handler aldebaran_mode2_handler = {
>  static struct amdgpu_reset_handler
>         *aldebaran_rst_handlers[AMDGPU_RESET_MAX_HANDLERS] = {
>                 &aldebaran_mode2_handler,
> +               &reset_on_init_handler,
>         };
>
>  int aldebaran_reset_init(struct amdgpu_device *adev)
> --
> 2.25.1
>


More information about the amd-gfx mailing list