]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/amdgpu: add function descripion of new functions
authorSunil Khatri <sunil.khatri@amd.com>
Fri, 26 Apr 2024 07:15:14 +0000 (12:45 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 30 Apr 2024 13:57:58 +0000 (09:57 -0400)
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 <sunil.khatri@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/include/amd_shared.h

index 7536c173a546912b9273c5fe69be3670869bfbe6..36ee9d3d6d9c39bcb153a6d30d14de5bdd0f63d1 100644 (file)
@@ -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,