Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2b46dd59 authored by Sunil Khatri's avatar Sunil Khatri
Browse files

msm: kgsl: Fix compilation dependencies on SYNC_FILE



When SYNC_FILE is not defined we see compilation errors in
kernel due to multiple redefinition of functions, also fix the
input arguments of kgsl_sync_fence_async_wait.

Change-Id: I7c6ec437968b33715209ebfe6834dc0decf18e55
Signed-off-by: default avatarSunil Khatri <sunilkh@codeaurora.org>
parent 6f681a62
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
/* Copyright (c) 2012-2014, 2017 The Linux Foundation. All rights reserved.
/* Copyright (c) 2012-2014,2017-2018 The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -137,8 +137,8 @@ static inline void kgsl_sync_timeline_put(struct kgsl_sync_timeline *ktimeline)
}


struct kgsl_sync_fence_cb *kgsl_sync_fence_async_wait(int fd,
					void (*func)(void *priv), void *priv,
static inline struct kgsl_sync_fence_cb *kgsl_sync_fence_async_wait(int fd,
					bool (*func)(void *priv), void *priv,
					char *fence_name, int name_len)
{
	return NULL;
@@ -188,7 +188,7 @@ static inline void kgsl_syncsource_cleanup(struct kgsl_process_private *private,

}

void kgsl_dump_fence(struct kgsl_drawobj_sync_event *event,
static inline void kgsl_dump_fence(struct kgsl_drawobj_sync_event *event,
					char *fence_str, int len)
{
}