mesa/src/freedreno
Yonggang Luo 2e4f874fa5 freedreno: Fixes error: passing argument 1 of ‘pthread_mutex_unlock’ from incompatible pointer type in tu_pipeline.c
src/freedreno/vulkan/tu_pipeline.c:4723:25: error: passing argument 1 of ‘pthread_mutex_unlock’ from incompatible pointer type [-Werror=incompatible-pointer-types]
 4723 |    pthread_mutex_unlock(&dev->pipeline_mutex);
      |                         ^~~~~~~~~~~~~~~~~~~~
      |                         |
      |                         mtx_t *
In file included from ../../src/freedreno/vulkan/tu_common.h:14,
                 from ../../src/freedreno/vulkan/tu_pipeline.h:13,
                 from ../../src/freedreno/vulkan/tu_pipeline.c:10:
/usr/include/pthread.h:835:51: note: expected ‘pthread_mutex_t *’ but argument is of type ‘mtx_t *’
  835 | extern int pthread_mutex_unlock (pthread_mutex_t *__mutex)

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Acked-by: David Heidelberg <david.heidelberg@collabora.com>
Acked-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23733>
2023-06-20 00:05:48 +00:00
..
.gitlab-ci freedreno: Partially decode CP_PROTECT_CNTL 2023-06-11 00:13:09 +00:00
afuc freedreno/afuc: Add raw mode for disasm 2023-03-25 16:21:28 +00:00
ci ci: Extend a618_vk_full runtime 2023-06-14 17:39:29 +00:00
common freedreno/batch: Move submit bo tracking to batch 2023-05-24 00:30:49 +00:00
computerator freedreno/computerator: Add support for a7xx 2023-03-30 23:40:48 +00:00
decode freedreno/decode: fix possible overflow 2023-03-23 18:56:34 +00:00
drm util: Replace all usage of PIPE_TIMEOUT_INFINITE with OS_TIMEOUT_INFINITE 2023-06-05 05:12:02 +00:00
drm-shim freedreno/drm-shim: add a660 2022-07-22 02:11:14 +00:00
ds meson: remove needless c++17-overrides 2023-05-19 12:45:31 +00:00
fdl freedreno/fdl: Expose view offset 2023-05-08 19:59:25 +00:00
ir2 freedreno/ir2: Re-indent 2021-04-17 15:38:56 +00:00
ir3 compiler: Move from nir_scope to mesa_scope 2023-06-19 23:29:26 +00:00
isa ir3: documents (ss) flag for cat7 instructions 2023-04-27 21:06:47 +00:00
perfcntrs freedreno/drm: Return fence from submit flush 2022-12-17 19:14:12 +00:00
registers freedreno: Partially decode CP_PROTECT_CNTL 2023-06-11 00:13:09 +00:00
rnn freedreno/rnn: Fix reg names for regs with variants 2023-03-23 17:54:57 +00:00
vulkan freedreno: Fixes error: passing argument 1 of ‘pthread_mutex_unlock’ from incompatible pointer type in tu_pipeline.c 2023-06-20 00:05:48 +00:00
.clang-format freedreno: Use the Mesa base style 2023-05-29 21:06:12 +00:00
.dir-locals.el freedreno: Update editorconfig and emacs settings for freedreno reformat. 2021-05-10 23:16:00 +00:00
.editorconfig freedreno: Update editorconfig and emacs settings for freedreno reformat. 2021-05-10 23:16:00 +00:00
meson.build ci/freedreno: do not build tools executables without explicitly enabling them 2023-03-23 18:56:34 +00:00