mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02:00
drm/amdgpu: add user queue reset source
Track resets from user queues. Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Sunil Khatri <sunil.khatri@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
724471254e
commit
c5da9e9c02
|
|
@ -340,6 +340,9 @@ void amdgpu_reset_get_desc(struct amdgpu_reset_context *rst_ctxt, char *buf,
|
|||
case AMDGPU_RESET_SRC_USER:
|
||||
strscpy(buf, "user trigger", len);
|
||||
break;
|
||||
case AMDGPU_RESET_SRC_USERQ:
|
||||
strscpy(buf, "user queue trigger", len);
|
||||
break;
|
||||
default:
|
||||
strscpy(buf, "unknown", len);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@ enum AMDGPU_RESET_SRCS {
|
|||
AMDGPU_RESET_SRC_MES,
|
||||
AMDGPU_RESET_SRC_HWS,
|
||||
AMDGPU_RESET_SRC_USER,
|
||||
AMDGPU_RESET_SRC_USERQ,
|
||||
};
|
||||
|
||||
struct amdgpu_reset_context {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user