Module: Mesa
Branch: main
Commit: 502253112001d03ecc24c8ea45c249a9b04f9f29
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=502253112001d03ecc24c8ea45c249a9b04f9f29

Author: Pierre-Eric Pelloux-Prayer <[email protected]>
Date:   Fri Apr  7 09:47:09 2023 +0200

amd: update amdgpu_drm.h

Reviewed-by: André Almeida <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22290>

---

 include/drm-uapi/amdgpu_drm.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/drm-uapi/amdgpu_drm.h b/include/drm-uapi/amdgpu_drm.h
index 72041a51cc2..95b5dd0dbed 100644
--- a/include/drm-uapi/amdgpu_drm.h
+++ b/include/drm-uapi/amdgpu_drm.h
@@ -245,6 +245,8 @@ union drm_amdgpu_bo_list {
 /* indicate some errors are detected by RAS */
 #define AMDGPU_CTX_QUERY2_FLAGS_RAS_CE   (1<<3)
 #define AMDGPU_CTX_QUERY2_FLAGS_RAS_UE   (1<<4)
+/* indicate that the reset hasn't completed yet */
+#define AMDGPU_CTX_QUERY2_FLAGS_RESET_IN_PROGRESS (1<<5)
 
 /* Context priority level */
 #define AMDGPU_CTX_PRIORITY_UNSET       -2048

Reply via email to