From 2669ae7f245c0aef0255d2b1abea1b743d59e7cc Mon Sep 17 00:00:00 2001 From: David Dai Date: Wed, 4 Jan 2017 15:17:33 -0800 Subject: [PATCH] clk: msm: clock-gcc-8998: keep gcc_bimc_gfx_clk on Keep gcc_bimc_gfx_clk always on to prevent a stall during BIMC redirection handshake that occurs as part of a transition between different CCI power modes. The stall causes momentary bandwidth drops for the display ports and creates display buffer underflows. Change-Id: Ie7de487fbe16c7e6b1234a96c1208d54daa5a9bb Signed-off-by: David Dai --- drivers/clk/msm/clock-gcc-8998.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/clk/msm/clock-gcc-8998.c b/drivers/clk/msm/clock-gcc-8998.c index b1d767a4cb6f..87cf6cc5631e 100644 --- a/drivers/clk/msm/clock-gcc-8998.c +++ b/drivers/clk/msm/clock-gcc-8998.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. +/* Copyright (c) 2015-2017, 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 @@ -2799,6 +2799,9 @@ static int msm_gcc_8998_probe(struct platform_device *pdev) /* This clock is used for all MMSSCC register access */ clk_prepare_enable(&gcc_mmss_noc_cfg_ahb_clk.c); + /* Keep bimc gfx clock port on all the time */ + clk_prepare_enable(&gcc_bimc_gfx_clk.c); + /* This clock is used for all GPUCC register access */ clk_prepare_enable(&gcc_gpu_cfg_ahb_clk.c);