summaryrefslogtreecommitdiffstats
path: root/src/freedreno/drm/freedreno_ringbuffer.h
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2018-11-28 08:50:19 -0500
committerRob Clark <[email protected]>2018-12-13 15:51:01 -0500
commit7ef722861b691ce99be3827ed05f8c0ddf2cd66e (patch)
tree6c5d3a541dbb7c596af6c61ca26c5096e8f654ba /src/freedreno/drm/freedreno_ringbuffer.h
parent4407e688cdf65b1a25f09bcfdb577d5c175aeb9a (diff)
freedreno/drm: sync uapi and enable softpin
Pull in updated UAPI and use kernel API version to enable softpin. Since MSM_SUBMIT_BO_DUMP flag was added at same time, use that to signal to kernel that cmdstream buffers are useful to dump for debugging/cmdstream-traces. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/freedreno/drm/freedreno_ringbuffer.h')
-rw-r--r--src/freedreno/drm/freedreno_ringbuffer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/freedreno/drm/freedreno_ringbuffer.h b/src/freedreno/drm/freedreno_ringbuffer.h
index 4292c8f65d6..3ee3e9ba992 100644
--- a/src/freedreno/drm/freedreno_ringbuffer.h
+++ b/src/freedreno/drm/freedreno_ringbuffer.h
@@ -124,6 +124,7 @@ struct fd_reloc {
struct fd_bo *bo;
#define FD_RELOC_READ 0x0001
#define FD_RELOC_WRITE 0x0002
+#define FD_RELOC_DUMP 0x0004
uint32_t flags;
uint32_t offset;
uint32_t or;