summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>2023-04-07 09:47:09 +0200
committerMarge Bot <emma+marge@anholt.net>2023-04-27 12:06:08 +0000
commit502253112001d03ecc24c8ea45c249a9b04f9f29 (patch)
tree106e22a39412801f3ca8c6e14ca261de92621b83
parente996599ed07a5ffbbddac25335d1ed4f0e9a4a40 (diff)
downloadmesa-502253112001d03ecc24c8ea45c249a9b04f9f29.tar.gz
mesa-502253112001d03ecc24c8ea45c249a9b04f9f29.tar.bz2
mesa-502253112001d03ecc24c8ea45c249a9b04f9f29.zip
amd: update amdgpu_drm.h
Reviewed-by: André Almeida <andrealmeid@igalia.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22290>
-rw-r--r--include/drm-uapi/amdgpu_drm.h2
1 files changed, 2 insertions, 0 deletions
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