diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2020-01-23 06:52:12 +0100 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2020-01-29 06:49:56 +0100 |
commit | 0352029ed83ff4d3f99e6bcf31bed5a97b07e3cf (patch) | |
tree | 051cf54e843705ac873926047dce32dcadabaeb8 /include/uapi/drm | |
parent | drm/nouveau: signal pending fences when channel has been killed (diff) | |
download | linux-0352029ed83ff4d3f99e6bcf31bed5a97b07e3cf.tar.xz linux-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/uapi/drm')
-rw-r--r-- | include/uapi/drm/nouveau_drm.h | 1 |
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; }; |