Remove syncs
authorCafe <cafe@not.applicable>
Wed, 2 Aug 2017 04:14:40 +0000 (04:14 +0000)
committerCafe <cafe@not.applicable>
Wed, 2 Aug 2017 04:14:40 +0000 (04:14 +0000)
src/synthesise.c
src/synthesise.h

index 96e10405e78021318379bacd553e887db5218638..3e4322df2a265f56e7f51bb1cdbb73060fa239c5 100644 (file)
@@ -32,7 +32,7 @@ struct mali_jd_dependency no_dependency = {
        .dependency_type = MALI_JD_DEP_TYPE_INVALID
 };
 
        .dependency_type = MALI_JD_DEP_TYPE_INVALID
 };
 
-struct job_descriptor_header* set_value_helper(int fd, uint64_t out)
+struct job_descriptor_header* set_value_helper(uint64_t out)
 {
        void* packet = galloc(sizeof(struct job_descriptor_header) +
                        sizeof(struct payload_set_value));
 {
        void* packet = galloc(sizeof(struct job_descriptor_header) +
                        sizeof(struct payload_set_value));
@@ -366,7 +366,7 @@ uint32_t job_chain_vertex_tiler(int fd,
                        0x3800 | MALI_MEM_PROT_CPU_RD |
                        MALI_MEM_PROT_CPU_WR | MALI_MEM_PROT_GPU_RD);
 
                        0x3800 | MALI_MEM_PROT_CPU_RD |
                        MALI_MEM_PROT_CPU_WR | MALI_MEM_PROT_GPU_RD);
 
-       struct job_descriptor_header *set = set_value_helper(fd, scratchpad + SV_OFFSET);
+       struct job_descriptor_header *set = set_value_helper(scratchpad + SV_OFFSET);
 
        struct job_descriptor_header *vertex =
                vertex_tiler_helper(fd, false,
 
        struct job_descriptor_header *vertex =
                vertex_tiler_helper(fd, false,
index d1a254d8e390bf61919305ec926e4a3a07efb6d4..046ff51c8e51ab4871f87647cc414f3ca44a34c0 100644 (file)
@@ -6,7 +6,7 @@
 #include <stddef.h>
 #include <stdbool.h>
 
 #include <stddef.h>
 #include <stdbool.h>
 
-struct job_descriptor_header* set_value_helper(int fd, uint64_t out);
+struct job_descriptor_header* set_value_helper(uint64_t out);
 
 uint64_t make_mfbd(bool tiler, uint64_t heap_free_address,
                uint64_t scratchpad);
 
 uint64_t make_mfbd(bool tiler, uint64_t heap_free_address,
                uint64_t scratchpad);