Connor Abbott
082871bb35
freedreno: Add some options to .clang-format
...
In preparation for reformatting ir3.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11801 >
2021-07-12 20:57:21 +00:00
Connor Abbott
ea325226d6
ir3: Add foreach_dst/foreach_dst_n
...
And cleanup a few places I know of that are open-coding it
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11565 >
2021-06-29 08:08:12 +00:00
Emma Anholt
591a3c738d
freedreno: Be more strict about QUERY_AVAILABLE to simplify the code.
...
ARB_oq doesn't just say "polling in a loop will make it complete
eventually", it says "querying will make it complete in finite time."
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11368 >
2021-06-15 20:42:26 +00:00
Rob Clark
62a6773d80
freedreno/drm: Add pipe tracking for deferred submits
...
Now that we have some bo state tracking for userspace fences, we can
build on this to add a way for the pipe implementation to defer a submit
flush in order to merge submits into a single ioctl.
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10444 >
2021-04-28 15:36:42 +00:00
Rob Clark
224dbd77d5
freedreno: Small indent fix
...
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10444 >
2021-04-28 15:36:42 +00:00
Rob Clark
45856c5fbc
freedreno/decode: Re-indent
...
clang-format -fallback-style=none --style=file -i src/freedreno/decode/*.[ch]
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10293 >
2021-04-17 15:38:56 +00:00
Rob Clark
31782330da
freedreno: Add missing foreach macros and update indentation
...
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10247 >
2021-04-14 16:53:26 -07:00
Rob Clark
2fb3984805
freedreno: Add .clang-format
...
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8883 >
2021-04-14 19:52:21 +00:00