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

Commit 8c782825 authored by Hareesh Gundu's avatar Hareesh Gundu
Browse files

msm: kgsl: Remove unused legacy IB timeout variables



Remove unused variables from legacy IB timeout detection.

Change-Id: I4df94ee43072ccebff4045c5950edbc406de38a8
Signed-off-by: default avatarHareesh Gundu <hareeshg@codeaurora.org>
parent 9b02e768
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -174,8 +174,6 @@ struct adreno_device {
	unsigned int fast_hang_detect;
	unsigned int ft_policy;
	unsigned int long_ib_detect;
	unsigned int long_ib;
	unsigned int long_ib_ts;
	unsigned int ft_pf_policy;
	unsigned int gpulist_index;
	struct ocmem_buf *ocmem_hdl;
+1 −2
Original line number Diff line number Diff line
/* Copyright (c) 2002,2007-2013, The Linux Foundation. All rights reserved.
/* Copyright (c) 2002,2007-2014, 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
@@ -59,7 +59,6 @@ struct kgsl_context;
 */
struct adreno_context {
	struct kgsl_context base;
	unsigned int ib_gpu_time_used;
	unsigned int timestamp;
	unsigned int internal_timestamp;
	int state;
+0 −1
Original line number Diff line number Diff line
@@ -28,7 +28,6 @@
#define KGSL_TIMEOUT_NONE           0
#define KGSL_TIMEOUT_DEFAULT        0xFFFFFFFF
#define KGSL_TIMEOUT_PART           50 /* 50 msec */
#define KGSL_TIMEOUT_LONG_IB_DETECTION  2000 /* 2 sec*/

#define FIRST_TIMEOUT (HZ / 2)