This patch-series enables jpeg devcoredump support V2: (Lijo) - add amdgpu_jpeg_reg_dump_init() for memory allocation and reg_list ref - use reg_list and reg_count from init() to dump and print registers - add amdgpu_jpeg_reg_dump_fini() to free memory and clear reg_list ref Sathishkumar S (9): drm/amdgpu: Add a func for core specific reg offset drm/amdgpu: Add helper funcs for jpeg devcoredump drm/amdgpu: Enable devcoredump for JPEG4_0_3 drm/amdgpu: Enable devcoredump for JPEG5_0_1 drm/amdgpu: Enable devcoredump for JPEG4_0_0 drm/amdgpu: Enable devcoredump for JPEG4_0_5 drm/amdgpu: Enable devcoredump for JPEG3_0_0 drm/amdgpu: Enable devcoredump for JPEG2_0_0 drm/amdgpu: Enable devcoredump for JPEG2_5_0 drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c | 80 +++++++++++++++++++ drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.h | 10 +++ drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c | 24 ++++++ drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c | 26 +++++++ drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c | 24 ++++++ drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.c | 26 ++++++- drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c | 98 ++++++++++++++++-------- drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.c | 27 ++++++- drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_1.c | 51 +++++++++++- drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_1.h | 61 +++++++++++++++ 10 files changed, 393 insertions(+), 34 deletions(-) -- 2.25.1