Release 4.7 drivers/staging/android/sw_sync.h
/*
* include/linux/sw_sync.h
*
* Copyright (C) 2012 Google, Inc.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*/
#ifndef _LINUX_SW_SYNC_H
#define _LINUX_SW_SYNC_H
#include <linux/types.h>
#include <linux/kconfig.h>
#include "sync.h"
#include "uapi/sw_sync.h"
struct sw_sync_timeline {
struct sync_timeline obj;
u32 value;
};
struct sw_sync_pt {
struct fence pt;
u32 value;
};
#if IS_ENABLED(CONFIG_SW_SYNC)
struct sw_sync_timeline *sw_sync_timeline_create(const char *name);
void sw_sync_timeline_inc(struct sw_sync_timeline *obj, u32 inc);
struct fence *sw_sync_pt_create(struct sw_sync_timeline *obj, u32 value);
#else
static inline struct sw_sync_timeline *sw_sync_timeline_create(const char *name)
{
return NULL;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
greg hackmann | greg hackmann | 17 | 100.00% | 1 | 100.00% |
| Total | 17 | 100.00% | 1 | 100.00% |
static inline void sw_sync_timeline_inc(struct sw_sync_timeline *obj, u32 inc)
{
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
greg hackmann | greg hackmann | 14 | 100.00% | 1 | 100.00% |
| Total | 14 | 100.00% | 1 | 100.00% |
static inline struct fence *sw_sync_pt_create(struct sw_sync_timeline *obj,
u32 value)
{
return NULL;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
greg hackmann | greg hackmann | 19 | 95.00% | 1 | 50.00% |
gustavo padovan | gustavo padovan | 1 | 5.00% | 1 | 50.00% |
| Total | 20 | 100.00% | 2 | 100.00% |
#endif /* IS_ENABLED(CONFIG_SW_SYNC) */
#endif /* _LINUX_SW_SYNC_H */
Overall Contributors
| Person | Tokens | Prop | Commits | CommitProp |
erik gilling | erik gilling | 75 | 51.72% | 1 | 25.00% |
greg hackmann | greg hackmann | 61 | 42.07% | 1 | 25.00% |
colin cross | colin cross | 6 | 4.14% | 1 | 25.00% |
gustavo padovan | gustavo padovan | 3 | 2.07% | 1 | 25.00% |
| Total | 145 | 100.00% | 4 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.