From 7ef722861b691ce99be3827ed05f8c0ddf2cd66e Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Wed, 28 Nov 2018 08:50:19 -0500 Subject: 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 --- src/freedreno/drm/freedreno_ringbuffer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/freedreno/drm/freedreno_ringbuffer.h') 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; -- cgit v1.2.3