diff options
author | Rob Clark <[email protected]> | 2018-11-28 08:50:19 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2018-12-13 15:51:01 -0500 |
commit | 7ef722861b691ce99be3827ed05f8c0ddf2cd66e (patch) | |
tree | 6c5d3a541dbb7c596af6c61ca26c5096e8f654ba /src/freedreno/drm/freedreno_drmif.h | |
parent | 4407e688cdf65b1a25f09bcfdb577d5c175aeb9a (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_drmif.h')
-rw-r--r-- | src/freedreno/drm/freedreno_drmif.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/freedreno/drm/freedreno_drmif.h b/src/freedreno/drm/freedreno_drmif.h index e12ab970c8f..27ca0a96f26 100644 --- a/src/freedreno/drm/freedreno_drmif.h +++ b/src/freedreno/drm/freedreno_drmif.h @@ -85,6 +85,7 @@ enum fd_version { FD_VERSION_FENCE_FD = 2, /* submit command supports in/out fences */ FD_VERSION_SUBMIT_QUEUES = 3, /* submit queues and multiple priority levels */ FD_VERSION_BO_IOVA = 3, /* supports fd_bo_get/put_iova() */ + FD_VERSION_SOFTPIN = 4, /* adds softpin, bo name, and dump flag */ }; enum fd_version fd_device_version(struct fd_device *dev); |