diff options
author | Rob Clark | 2017-08-23 16:08:39 -0500 |
---|---|---|
committer | Rob Clark | 2017-11-04 16:23:20 -0500 |
commit | 7064b2eae9c136162e5c7f25571d63f71d066887 (patch) | |
tree | 6c5a1c056465be9af38b1bce6904999d839288f0 /freedreno/freedreno_priv.h | |
parent | 62e0767b816cb52b35226d439090ef580bd60b01 (diff) | |
download | external-libdrm-7064b2eae9c136162e5c7f25571d63f71d066887.tar.gz external-libdrm-7064b2eae9c136162e5c7f25571d63f71d066887.tar.xz external-libdrm-7064b2eae9c136162e5c7f25571d63f71d066887.zip |
freedreno: submit-queue context priority
With a new-enough kernel to support prioritized submit-queues, we can
expose priority level support to mesa. Open a submit queue associated
with the fd_pipe and pass it's id back to SUBMIT ioctl.
Signed-off-by: Rob Clark <robclark@freedesktop.org>
Diffstat (limited to 'freedreno/freedreno_priv.h')
-rw-r--r-- | freedreno/freedreno_priv.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/freedreno/freedreno_priv.h b/freedreno/freedreno_priv.h index 8dd3ee69..27307472 100644 --- a/freedreno/freedreno_priv.h +++ b/freedreno/freedreno_priv.h | |||
@@ -66,7 +66,8 @@ struct fd_device_funcs { | |||
66 | uint32_t flags, uint32_t *handle); | 66 | uint32_t flags, uint32_t *handle); |
67 | struct fd_bo * (*bo_from_handle)(struct fd_device *dev, | 67 | struct fd_bo * (*bo_from_handle)(struct fd_device *dev, |
68 | uint32_t size, uint32_t handle); | 68 | uint32_t size, uint32_t handle); |
69 | struct fd_pipe * (*pipe_new)(struct fd_device *dev, enum fd_pipe_id id); | 69 | struct fd_pipe * (*pipe_new)(struct fd_device *dev, enum fd_pipe_id id, |
70 | unsigned prio); | ||
70 | void (*destroy)(struct fd_device *dev); | 71 | void (*destroy)(struct fd_device *dev); |
71 | }; | 72 | }; |
72 | 73 | ||