Loading drivers/gpu/msm/kgsl_pwrctrl.c +5 −5 Original line number Diff line number Diff line /* Copyright (c) 2010-2018, The Linux Foundation. All rights reserved. /* Copyright (c) 2010-2019, 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 Loading Loading @@ -64,7 +64,7 @@ static const char * const clocks[] = { "ahb_clk" }; static unsigned int ib_votes[KGSL_MAX_BUSLEVELS]; static unsigned long ib_votes[KGSL_MAX_BUSLEVELS]; static int last_vote_buslevel; static int max_vote_buslevel; Loading Loading @@ -127,7 +127,7 @@ static void _record_pwrevent(struct kgsl_device *device, /** * kgsl_get_bw() - Return latest msm bus IB vote */ static unsigned int kgsl_get_bw(void) static unsigned long kgsl_get_bw(void) { return ib_votes[last_vote_buslevel]; } Loading @@ -141,8 +141,8 @@ static unsigned int kgsl_get_bw(void) static void _ab_buslevel_update(struct kgsl_pwrctrl *pwr, unsigned long *ab) { unsigned int ib = ib_votes[last_vote_buslevel]; unsigned int max_bw = ib_votes[max_vote_buslevel]; unsigned long ib = ib_votes[last_vote_buslevel]; unsigned long max_bw = ib_votes[max_vote_buslevel]; if (!ab) return; Loading Loading
drivers/gpu/msm/kgsl_pwrctrl.c +5 −5 Original line number Diff line number Diff line /* Copyright (c) 2010-2018, The Linux Foundation. All rights reserved. /* Copyright (c) 2010-2019, 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 Loading Loading @@ -64,7 +64,7 @@ static const char * const clocks[] = { "ahb_clk" }; static unsigned int ib_votes[KGSL_MAX_BUSLEVELS]; static unsigned long ib_votes[KGSL_MAX_BUSLEVELS]; static int last_vote_buslevel; static int max_vote_buslevel; Loading Loading @@ -127,7 +127,7 @@ static void _record_pwrevent(struct kgsl_device *device, /** * kgsl_get_bw() - Return latest msm bus IB vote */ static unsigned int kgsl_get_bw(void) static unsigned long kgsl_get_bw(void) { return ib_votes[last_vote_buslevel]; } Loading @@ -141,8 +141,8 @@ static unsigned int kgsl_get_bw(void) static void _ab_buslevel_update(struct kgsl_pwrctrl *pwr, unsigned long *ab) { unsigned int ib = ib_votes[last_vote_buslevel]; unsigned int max_bw = ib_votes[max_vote_buslevel]; unsigned long ib = ib_votes[last_vote_buslevel]; unsigned long max_bw = ib_votes[max_vote_buslevel]; if (!ab) return; Loading