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>
This commit is contained in:
YiPeng Chai
2025-07-16 11:16:20 +08:00
committed by Alex Deucher
parent 020ad3a4ed
commit a813437c33
2 changed files with 66 additions and 0 deletions

View File

@@ -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 {