mesa/src/freedreno/vulkan
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
..
.clang-format freedreno: Use the Mesa base style 2023-05-29 21:06:12 +00:00
.dir-locals.el
.editorconfig
meson.build vulkan: write beta extensions into generator scripts. 2023-05-04 02:40:06 +00:00
msm_kgsl.h turnip: Update the msm_kgsl.h header with the sanitized 4.19 version 2022-01-21 21:25:07 +00:00
TODO
tu_android.cc tu: compile as C++ 2023-03-24 15:49:26 +00:00
tu_android.h turnip: add tu_android.h 2022-08-04 00:40:12 +00:00
tu_autotune.cc tu/autotune: Always prefer GMEM with fragment density maps 2023-05-08 19:59:26 +00:00
tu_autotune.h tu: Retain allocated CSes in tu_autotune_on_submit 2022-09-09 07:57:54 +00:00
tu_clear_blit.cc treewide: Use nir_tex_src_for_ssa 2023-06-06 18:52:25 +00:00
tu_clear_blit.h tu: Support GMEM with layered rendering and multiview 2022-11-08 16:35:02 +00:00
tu_cmd_buffer.cc tu, ir3: Handle FDM shader builtins 2023-05-08 19:59:26 +00:00
tu_cmd_buffer.h tu, ir3: Handle FDM shader builtins 2023-05-08 19:59:26 +00:00
tu_common.h tu: Implement sampling the fragment density map 2023-05-08 19:59:26 +00:00
tu_cs.cc tu/cs: Add support for CS patching 2023-05-08 19:59:26 +00:00
tu_cs.h tu: Add core FDM patchpoint infrastructure 2023-05-08 19:59:26 +00:00
tu_cs_breadcrumbs.cc tu: compile as C++ 2023-03-24 15:49:26 +00:00
tu_descriptor_set.cc tu: compile as C++ 2023-03-24 15:49:26 +00:00
tu_descriptor_set.h tu: C++-proofing: fix casting from void * fpermissive warnings 2023-03-24 15:49:25 +00:00
tu_device.cc vulkan/pipeline_cache: don't log warnings for client-invisible caches 2023-05-17 20:40:12 +00:00
tu_device.h tu: Re-enable bufferDeviceAddressCaptureReplay 2023-05-10 20:57:03 +00:00
tu_dynamic_rendering.cc tu: compile as C++ 2023-03-24 15:49:26 +00:00
tu_dynamic_rendering.h turnip: add tu_dynamic_rendering.h 2022-08-04 00:40:12 +00:00
tu_formats.cc tu: Don't allow importing/exporting subsampled images with modifiers 2023-05-08 19:59:26 +00:00
tu_formats.h turnip: add blit_format_color and blit_base_format 2023-02-08 03:26:05 +00:00
tu_image.cc tu: Implement sampling the fragment density map 2023-05-08 19:59:26 +00:00
tu_image.h tu: Implement sampling the fragment density map 2023-05-08 19:59:26 +00:00
tu_knl.cc tu: Create drm fd per logical device 2023-05-10 20:57:02 +00:00
tu_knl.h tu: Re-enable bufferDeviceAddressCaptureReplay 2023-05-10 20:57:03 +00:00
tu_knl_drm_msm.cc tu: Fix missing unlock 2023-06-07 11:04:19 +00:00
tu_knl_kgsl.cc tu: Re-enable bufferDeviceAddressCaptureReplay 2023-05-10 20:57:03 +00:00
tu_lrz.cc tu: compile as C++ 2023-03-24 15:49:26 +00:00
tu_lrz.h turnip: Invalidate LRZ on blend+depthwrite 2023-01-20 16:18:03 +00:00
tu_nir_lower_multiview.cc tu: compile as C++ 2023-03-24 15:49:26 +00:00
tu_pass.cc tu: Parse fragment density map attachment info 2023-05-08 19:59:26 +00:00
tu_pass.h tu: Parse fragment density map attachment info 2023-05-08 19:59:26 +00:00
tu_perfetto.cc tu/perfetto: Drop unused arg to send_descriptors(). 2023-04-16 15:50:49 +00:00
tu_perfetto.h tu/perfetto: Use tu_CmdBeginDebugUtilsLabelEXT as a stage event in perfetto. 2023-04-16 15:50:49 +00:00
tu_perfetto_util.cc tu: compile as C++ 2023-03-24 15:49:26 +00:00
tu_pipeline.cc 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
tu_pipeline.h tu, ir3: Handle FDM shader builtins 2023-05-08 19:59:26 +00:00
tu_query.cc tu: compile as C++ 2023-03-24 15:49:26 +00:00
tu_query.h turnip: add tu_query.h 2022-08-04 00:40:12 +00:00
tu_shader.cc vulkan: move nir_convert_ycbcr into vulkan runtime 2023-06-07 08:42:03 +00:00
tu_shader.h tu, ir3: Handle FDM shader builtins 2023-05-08 19:59:26 +00:00
tu_suballoc.cc tu: compile as C++ 2023-03-24 15:49:26 +00:00
tu_suballoc.h tu: C++-proofing: various enum fixes 2023-03-24 15:49:25 +00:00
tu_tracepoints.py tu/perfetto: s/MRTs/attachment_count/ in traces. 2023-04-16 15:50:49 +00:00
tu_util.cc tu: Parse fragment density map attachment info 2023-05-08 19:59:26 +00:00
tu_util.h tu: Parse fragment density map attachment info 2023-05-08 19:59:26 +00:00
tu_wsi.cc tu: compile as C++ 2023-03-24 15:49:26 +00:00
tu_wsi.h turnip: add tu_wsi.h 2022-08-04 00:40:12 +00:00