aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2020-01-23 15:52:12 +1000
committerBen Skeggs <bskeggs@redhat.com>2020-01-29 15:49:56 +1000
commit0352029ed83ff4d3f99e6bcf31bed5a97b07e3cf (patch)
tree051cf54e843705ac873926047dce32dcadabaeb8 /include
parentdrm/nouveau: signal pending fences when channel has been killed (diff)
downloadlinux-dev-0352029ed83ff4d3f99e6bcf31bed5a97b07e3cf.tar.xz
linux-dev-0352029ed83ff4d3f99e6bcf31bed5a97b07e3cf.zip
drm/nouveau: support synchronous pushbuf submission
This is useful for debugging GPU hangs. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/drm/nouveau_drm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/drm/nouveau_drm.h b/include/uapi/drm/nouveau_drm.h
index 9459a6e3bc1f..853a327433d3 100644
--- a/include/uapi/drm/nouveau_drm.h
+++ b/include/uapi/drm/nouveau_drm.h
@@ -110,6 +110,7 @@ struct drm_nouveau_gem_pushbuf {
__u64 push;
__u32 suffix0;
__u32 suffix1;
+#define NOUVEAU_GEM_PUSHBUF_SYNC (1ULL << 0)
__u64 vram_available;
__u64 gart_available;
};