exynos5422-dmc.c (ae8eb8ba521c8e72e9e5504765929e55c038ee3a) | exynos5422-dmc.c (74ca9e46107879551e2625bfbfbfd71da1881b82) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (c) 2019 Samsung Electronics Co., Ltd. 4 * Author: Lukasz Luba <l.luba@partner.samsung.com> 5 */ 6 7#include <linux/clk.h> 8#include <linux/devfreq.h> --- 1452 unchanged lines hidden (view full) --- 1461 dev_warn(dev, "couldn't probe performance counters\n"); 1462 goto remove_clocks; 1463 } 1464 1465 /* 1466 * Setup default thresholds for the devfreq governor. 1467 * The values are chosen based on experiments. 1468 */ | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (c) 2019 Samsung Electronics Co., Ltd. 4 * Author: Lukasz Luba <l.luba@partner.samsung.com> 5 */ 6 7#include <linux/clk.h> 8#include <linux/devfreq.h> --- 1452 unchanged lines hidden (view full) --- 1461 dev_warn(dev, "couldn't probe performance counters\n"); 1462 goto remove_clocks; 1463 } 1464 1465 /* 1466 * Setup default thresholds for the devfreq governor. 1467 * The values are chosen based on experiments. 1468 */ |
1469 dmc->gov_data.upthreshold = 30; | 1469 dmc->gov_data.upthreshold = 10; |
1470 dmc->gov_data.downdifferential = 5; 1471 | 1470 dmc->gov_data.downdifferential = 5; 1471 |
1472 exynos5_dmc_df_profile.polling_ms = 500; | 1472 exynos5_dmc_df_profile.polling_ms = 100; |
1473 } 1474 1475 1476 dmc->df = devm_devfreq_add_device(dev, &exynos5_dmc_df_profile, 1477 DEVFREQ_GOV_SIMPLE_ONDEMAND, 1478 &dmc->gov_data); 1479 1480 if (IS_ERR(dmc->df)) { --- 66 unchanged lines hidden --- | 1473 } 1474 1475 1476 dmc->df = devm_devfreq_add_device(dev, &exynos5_dmc_df_profile, 1477 DEVFREQ_GOV_SIMPLE_ONDEMAND, 1478 &dmc->gov_data); 1479 1480 if (IS_ERR(dmc->df)) { --- 66 unchanged lines hidden --- |