]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amdgpu/userq: extend userq state
authorPrike Liang <Prike.Liang@amd.com>
Tue, 22 Jul 2025 03:14:28 +0000 (11:14 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 Oct 2025 18:14:32 +0000 (14:14 -0400)
Extend the userq state for identifying the
userq invalid cases.

Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h

index c027dd9166727fd64d46e2b246871f64bf5f7809..ded33fe76e1cc4c639b207d9f99fa838c49719a6 100644 (file)
@@ -37,6 +37,7 @@ enum amdgpu_userq_state {
        AMDGPU_USERQ_STATE_MAPPED,
        AMDGPU_USERQ_STATE_PREEMPTED,
        AMDGPU_USERQ_STATE_HUNG,
+       AMDGPU_USERQ_STATE_INVALID_VA,
 };
 
 struct amdgpu_mqd_prop;