[PATCH v2 3/4] drm/amdgpu: extend UAPI for reporting userq invalid VA
Prike Liang <[email protected]>
| Newsgroups | org.freedesktop.lists.amd-gfx |
|---|---|
| Message-ID | <[email protected]> |
Add UAPI new definition for reporting userq invalid virtual address status to user space. Signed-off-by: Prike Liang <[email protected]> --- include/uapi/drm/amdgpu_drm.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h index 15b0ccfe00e5..c0c48ce46849 100644 --- a/include/uapi/drm/amdgpu_drm.h +++ b/include/uapi/drm/amdgpu_drm.h @@ -350,7 +350,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 * info for all supported userqueue related operations. -- 2.34.1