[PATCH v1 15/15] drm/amdgpu: add vcn ip dump support for vcn_v2_6

Alex Deucher alexdeucher at gmail.com
Wed Aug 7 04:00:03 UTC 2024


The patches other than 4.0.3 are:
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
I think 4.0.3 needs the GET_INST() fix.

Alex

On Tue, Aug 6, 2024 at 4:18 AM Sunil Khatri <sunil.khatri at amd.com> wrote:
>
> Add support for logging the registers in devcoredump
> buffer for vcn_v2_6.
>
> Signed-off-by: Sunil Khatri <sunil.khatri at amd.com>
> ---
>  drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c b/drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c
> index fdbf56a0e46e..d3e00c0bb608 100644
> --- a/drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c
> +++ b/drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c
> @@ -2056,8 +2056,8 @@ static const struct amd_ip_funcs vcn_v2_6_ip_funcs = {
>          .post_soft_reset = NULL,
>          .set_clockgating_state = vcn_v2_5_set_clockgating_state,
>          .set_powergating_state = vcn_v2_5_set_powergating_state,
> -       .dump_ip_state = NULL,
> -       .print_ip_state = NULL,
> +       .dump_ip_state = vcn_v2_5_dump_ip_state,
> +       .print_ip_state = vcn_v2_5_print_ip_state,
>  };
>
>  const struct amdgpu_ip_block_version vcn_v2_5_ip_block =
> --
> 2.34.1
>


More information about the amd-gfx mailing list