aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
diff options
context:
space:
mode:
authorYiPeng Chai <YiPeng.Chai@amd.com>2025-07-16 11:16:20 +0800
committerAlex Deucher <alexander.deucher@amd.com>2025-07-28 16:40:06 -0400
commita813437c33842c4e28a0656a9d8f20c3a8d35d6d (patch)
tree4261362ce19ca41d5e3961390ce803fb752a0e30 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
parentdrm/amdgpu: query the allocated vram address block info (diff)
downloadlinux-a813437c33842c4e28a0656a9d8f20c3a8d35d6d.tar.gz
linux-a813437c33842c4e28a0656a9d8f20c3a8d35d6d.zip
drm/amdgpu: add command to check address validity
Add command to check address validity and remove unused command codes. v2: The command interface adds new parameters to support multiple check address strategies. Signed-off-by: YiPeng Chai <YiPeng.Chai@amd.com> Reviewed-by: Tao Zhou <tao.zhou1@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
index 927d6bff734a..7f10a7402160 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
@@ -570,6 +570,9 @@ struct amdgpu_ras {
struct ras_event_manager *event_mgr;
uint64_t reserved_pages_in_bytes;
+
+ pid_t init_task_pid;
+ char init_task_comm[TASK_COMM_LEN];
};
struct ras_fs_data {