On 7/11/26 13:21, Timur Kristóf wrote:
> Currently the contents of IBs are abruptly cut off and don't
> show the full contents. This patch makes sure to reserve
> space for those contents too so they may be printed.
> 
> Signed-off-by: Timur Kristóf <[email protected]>

Acked-by: Christian König <[email protected]>

> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c 
> b/drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c
> index aaf091b7f9d0..39b2a4c0e011 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c
> @@ -235,6 +235,9 @@ amdgpu_devcoredump_print_ibs(struct drm_printer *p,
>                       drm_printf(p, "\nIB #%d 0x%llx %d dw\n", i,
>                                  coredump->ibs[i].gpu_addr,
>                                  coredump->ibs[i].ib_size_dw);
> +
> +                     for (int j = 0; j < coredump->ibs[i].ib_size_dw; j++)
> +                             drm_printf(p, "0xffffffff\n");
>               }
>               return;
>       }

Reply via email to