From: Sunil Khatri Date: Fri, 26 Apr 2024 07:15:14 +0000 (+0530) Subject: drm/amdgpu: add function descripion of new functions X-Git-Tag: v6.11-rc1~141^2~25^2~522 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fbbbf6fb3f7c29c0d18cdb8e6217570cdc97961f;p=thirdparty%2Fkernel%2Flinux.git drm/amdgpu: add function descripion of new functions Add function description of the new functions added in amd_ip_funcs. new functions added are: a. dump_ip_state b. print_ip_state Signed-off-by: Sunil Khatri Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd/include/amd_shared.h index 7536c173a5469..36ee9d3d6d9c3 100644 --- a/drivers/gpu/drm/amd/include/amd_shared.h +++ b/drivers/gpu/drm/amd/include/amd_shared.h @@ -291,6 +291,8 @@ enum amd_dpm_forced_level; * @set_clockgating_state: enable/disable cg for the IP block * @set_powergating_state: enable/disable pg for the IP block * @get_clockgating_state: get current clockgating status + * @dump_ip_state: dump the IP state of the ASIC during a gpu hang + * @print_ip_state: print the IP state in devcoredump for each IP of the ASIC * * These hooks provide an interface for controlling the operational state * of IP blocks. After acquiring a list of IP blocks for the GPU in use,