drm/amdgpu: add vcn ip dump support for vcn_v2_6
authorSunil Khatri <sunil.khatri@amd.com>
Mon, 5 Aug 2024 11:57:58 +0000 (17:27 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 16 Aug 2024 18:26:57 +0000 (14:26 -0400)
Add support for logging the registers in devcoredump
buffer for vcn_v2_6.

Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Acked-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c

index 661eef38aec94193e427ae3dd7051ddf0c0fb7a2..04e9e806e3187fcde7d371afbd598a6283065686 100644 (file)
@@ -2026,8 +2026,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 =