Add the userq flag to identify the invalid userq cases.
Signed-off-by: Prike Liang <[email protected]>
---
include/uapi/drm/amdgpu_drm.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h
index 7292f7bfcd13..62520c4e4b19 100644
--- a/include/uapi/drm/amdgpu_drm.h
+++ b/include/uapi/drm/amdgpu_drm.h
@@ -352,6 +352,8 @@ union drm_amdgpu_ctx {
#define AMDGPU_USERQ_QUERY_STATUS_FLAGS_HUNG (1 << 0)
/* indicate vram lost since queue was created */
#define AMDGPU_USERQ_QUERY_STATUS_FLAGS_VRAMLOST (1 << 1)
+/* the invalid userq VA unmapped */
+#define AMDGPU_USERQ_QUERY_STATUS_FLAGS_INVALID_VA (1 << 2)
/*
* This structure is a container to pass input configuration
--
2.34.1