summaryrefslogtreecommitdiff
path: root/drivers/edp
AgeCommit message (Collapse)Author
2013-09-14EDP: tegra: capping table debugfs attribSivaram Nair
Adding debugfs attributes for getting AP+DRAM EDP table and CPU power limits. Change-Id: I36f7d447a964f34a3ab6d803d753537baca1e235 Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/236268 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
2013-09-14EDP: tegra: rebase core client states on gainSivaram Nair
The core client E-states are scaled down proportional to the gain factor. This will reduce the difference between an available budget and AP+DRAM EDP table entries. Bug 1266730 Change-Id: Ie68d3a71e320433b2096e3a5d40c8bb1185bae4f Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/234947 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2013-09-14EDP: psy depletion: allow null rbat lutSivaram Nair
For boards that do not specify an rbat lut, use the r_const as the RBAT. Change-Id: Ica8045c65fed34b48f2b89a5be4bc1435320924f Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/233805 (cherry picked from commit 43e96b352cdfb1438edc326da0ac4ae05e14c03e) Reviewed-on: http://git-master/r/234945 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2013-09-14EDP: tegra: filter out isolated gpu peaksSivaram Nair
Isolated gpu load peaks degrade CPU performance without benefitting the GPU use case. This patch implements a filter to detect such events by requiring the GPU load to be above gpu_high_threshold for at least gpu_high_count (default is 2) number of consecutive notifications. Bug 1293353 Change-Id: Ia14aa1d121c665251b6299cbe8b78a81f1f4c8d3 Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/233597 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2013-09-14EDP: tegra: compensate for performance reductionsSivaram Nair
While calculating the CPU freq cap for a given AP+DRAM power budget (the allowed E-state level), performance is lost in two places. (1) after applying the gain factor: since the E-state level multiplied by the gain factor does not exactly match a row in the AP+DRAM table (resulting in the selection of a lower value). (2) while looking up in the cpu power limit table: some delta mW is lost as in the above case (since there is no exact match, we are choosing a lower level) (1) is fixed by adding the delta amount to cpu power (2) is fixed by choosing a ceiling value (this is OK since in almost all cases, we have some battery cap remaining). Bug 1293353 Change-Id: I6584bfa385d8af15457d8c3faaa0d4a3169c4624 Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/233596 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2013-09-14EDP: tegra: use core_gain from board dataSivaram Nair
core_gain is made board specific. This patch makes the needed changes in the tegra core sys EDP client code. Bug 1266730 Change-Id: Icc3f77d245579e8927260cb3ec0475d8b765ba62 Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/233591 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2013-09-14fixup: remove __dev*Dan Willemsen
2013-09-14EDP: calculating OCV from SOC lutSivaram Nair
Not all fuel gauges provide OCV reading. This patch adds a lookup-table based OCV calculation (choosen only if the board data provides a SOC vs OCV lut). Bug 1274401 Change-Id: I423b02a52464546f325a4828057aeb18aa50ae53 Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/231561 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2013-09-14EDP: use GPU and EMC freqs in kHzSivaram Nair
T148 AP+DRAM EDP tables require GPU and EMC freqs to be specified in kHz. Pluto and Macallan already specifies the freqs in mHz - so this patch contains board file changes too (since these have to go as a single change). Bug 1266730 Change-Id: I14f96460865f775722afd217eea3401d4f0c6f18 Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/231071 Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com> Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
2013-09-14EDP: adding power-supply depletion driverSivaram Nair
Power-supply depletion driver. Bug 1274376 Change-Id: I1e18db9bb06a18bb1cc6446fe36ce8422bae67cf Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/226227 (cherry picked from commit d58d93daa615663ef9fe72c58357ec103a84803a) Reviewed-on: http://git-master/r/226667 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2013-09-14EDP: cosmetic restructuringSivaram Nair
Renaming files to align with next set of changes Bug 1274376 Change-Id: I3f8984f29165fcdd245b9ee8fb7499cc876b3fd6 Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/226223 (cherry picked from commit a4d3a78af74e2a92e29d75e0b300ddbd64f66cbf) Reviewed-on: http://git-master/r/226663 GVS: Gerrit_Virtual_Submit Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2013-09-14EDP: tegra: change AP+DRAM gain factor to 130Sivaram Nair
Bug 1264825 Change-Id: Ic05558d2dd733682a65c31cc5fc9ca35e1d7664f Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/222571 (cherry picked from commit 9804580a7cb7726eb3b60cb7a115635ee4dc6bb5) Reviewed-on: http://git-master/r/223357 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2013-09-14EDP: tegra: remove loan from tegra_sysedp_corecapSivaram Nair
loan is exclusively used for the CPU power right now - no need to include it in the tables. This reduces the table length. Bug 1264825 Change-Id: I6c563d0b02e11cd72a40bc6f645b29fe816274d9 Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/222569 (cherry picked from commit 80b44870e7fab9494351038b3c556a82b637f1d8) Reviewed-on: http://git-master/r/223355 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2013-09-14EDP: tegra: add initial request to core clientSivaram Nair
This patch contains changes to let the core client specify an initial E-state (rather than assuming the highest possible state). Bug 1264825 Change-Id: If3b44c0f411d8c2b69762c26761f807b073b6345 Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/222566 (cherry picked from commit 524e097a415b955dff7ddf07a5d586926c96537f) Reviewed-on: http://git-master/r/223352 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2013-09-14EDP: tegra: change gpu window threshold to 80Sivaram Nair
Making 80 ms as the default window length based on empirical data. Change-Id: I3e59d7cdafd6bb13031d5e0df67cd31c76e120b6 Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/220168 (cherry picked from commit 4dc0d781dd828f912a9c028cba360870f5975a27) Reviewed-on: http://git-master/r/220951 Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User
2013-09-14EDP: tegra: removing open printkSivaram Nair
Moved to pr_debug Change-Id: I4e0ea0f59b4231190f9972b8dc79e0d877b57216 Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/219306 (cherry picked from commit 7da6cc7c2c33d6e5c95900c1fdcbeaae695bc58d) Reviewed-on: http://git-master/r/220946 Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User
2013-09-14EDP: fixing return valueSivaram Nair
sysfs store functions should return the number of byte count on success. Change-Id: I24ede6c4d03ed9066ece0e214ba8a68370e285af Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> (cherry picked from commit b0a3b04da43fc96e05f2b2dac062292a39cbe4fd) Reviewed-on: http://git-master/r/212598 Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2013-09-14EDP: add notify sysfsSivaram Nair
A new sysfs attribute is added to specify whether the throttling and promotion of an EDP client should be notified to the user level. The field can be set/modified either by the client driver or an init script. Bug 1244972 Change-Id: I91b71125647353932b8ef01883dbfee86f4b8587 Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> (cherry picked from commit 77141d4a7d24da08f9ce0579d6ceac707b33de3d) Reviewed-on: http://git-master/r/212597 Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2013-09-14EDP: add sysfs_notify on throttles and promotionsSivaram Nair
sysfs_notify is issued on a newly added <manager>/denied attribute whenever one or more client is throttled or promoted. This is needed so that any user level process can wait on such events via poll/select. Bug 1244972 Change-Id: Ie4b963c46a2de0e1e34c46bed8bfc2ba60e019a7 Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> (cherry picked from commit 50f218e81c1346bdeb75248a79a0a080e8c3c9a7) Reviewed-on: http://git-master/r/212595 Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2013-09-14EDP: add E0 sum to manager/status debug attribSivaram Nair
The sum of E0 from all clients is added to the <manager>/status debug attribute. Change-Id: Ice9cee05ab7821168ba1e8af7765ba65e5033bbb Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> (cherry picked from commit 9c643a63eedb3a9b22b915d2745571278c81821a) Reviewed-on: http://git-master/r/212587 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2013-09-14EDP: tegra: core E-state request via sysfsSivaram Nair
A new sysfs entry is added to core EDP client for changing its E-state request. This is required to limit the maximum power the core (AP+DRAM) can be allocated. Bug 1252183 Change-Id: I2f30284df3994e714f828480ac89390a21a121ee Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> (cherry picked from commit 0251963906b6b2189868636b877b0f32920c3b2b) Reviewed-on: http://git-master/r/212585 Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2013-09-14EDP: client specific sysfs attrbsSivaram Nair
This patch implements support for adding client specific sysfs attributes. Change-Id: I41b81ebe29f49db8242dbb958078536499b7ef8f Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> (cherry picked from commit 8f5c3742921dc1f17d5235dca08d45ff66610d64) Reviewed-on: http://git-master/r/212584 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2013-09-14edp: tegra: adding gain factor debug knobSivaram Nair
Added a gain factor debugfs node to scale the EDP budget that is allocated to the core client. Change-Id: Ic8cf6c50b66d8876b23845fcc76bdde3e4305518 Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> (cherry picked from commit bb36790494c382ec26250f351c8cea76613f0f02) Reviewed-on: http://git-master/r/212580 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2013-09-14EDP: allow reducing manager cap on the flySivaram Nair
Current mechanism for reducing the maximum capacity of an EDP manager is little cumbersome and requires multiple steps. This patch implements it in a better way and allows the developer to achieve the effect in a single debugfs modification. Change-Id: I842105ae4bfe47d9856e477033b8543ee1664e2e Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> (cherry picked from commit 2bc89cc8bcc2a60e53ddc34362a7ab31a27d7f15) Reviewed-on: http://git-master/r/204586 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
2013-09-14EDP: tegra: core sysedp platform driverSivaram Nair
This patch adds implementation for the core system EDP platform driver. This client will request EDP budget from the battery EDP manager and distribute it amoung CPU, GPU and EMC according to the EDP capping table (provided by the board file) Bug 1159974 Change-Id: I2c31584dc1019aedc111df2e6008a2f10fd27723 Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> (cherry picked from commit 3dd30e1c0dbaeda621c9cf8e21b093be0e05e31c) Reviewed-on: http://git-master/r/204583 GVS: Gerrit_Virtual_Submit Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
2013-09-14EDP: adding debugfs supportSivaram Nair
This patch adds debufs support for the EDP manager and clients. Client drivers may use the client object's dentry pointer to add their own debugfs entries. Change-Id: I193afe7175d3e1407d5dee2341ac55a8972a3ace Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> (cherry picked from commit 35cde2ba740b2227ff375b66b76c3696e4aa4d49) Reviewed-on: http://git-master/r/203828 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2013-09-14EDP: makefile restructuringSivaram Nair
CONFIG_EDP_FRAMEWORK is removed from the make file - it is already used by the parent makefile, so it is not needed here. Change-Id: Id9fe804930dcc6e8fac351966679ffde4afae6a8 Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> (cherry picked from commit 3f8ca1df5946649c8fab384b35f4ee84aa4b6b72) Reviewed-on: http://git-master/r/203827 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2013-09-14EDP: fixing bug with priority definitionsSivaram Nair
The min and max priority constants are defined incorrectly (in the wrong order). This patch corrects it and updates the affected drivers and platform data. Change-Id: Ie58742a85e4db96faf5b379384c59053a9716b64 Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/198022 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
2013-09-14EDP: renaming imax to maxSivaram Nair
The edp_manager structure's imax member is renamed to max so that it is not tied to any specific units. Change-Id: I01f538ec17d3f04d8ad3e7e904e2ba8b4cc0c339 Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/195478 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2013-09-14edp: fix potential null pointer de-referrenceSivaram Nair
Fixing a bug found by coverity Change-Id: I3304adf38a80652acf7f279c6bb7246c092eda81 Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/188734 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2013-09-14drivers: edp: add user data carrierCharlie Huang
let edp clients can pass per-instance data to the edp core and get it returned back in the called back functions. bug 1159989 bug 1159987 Change-Id: I8a7645dfe41ae0089c9462ee50a8976f4bfb397a Signed-off-by: Charlie Huang <chahuang@nvidia.com> Reviewed-on: http://git-master/r/166747 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
2013-09-14pm: EDP: added check on callback pointerSivaram Nair
Throttle callback is made mandatory for all clients that support negative E-states. Change-Id: Ibf55c5f1b21107a2e52b7ce4ffbea0f36d77dfb3 Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/160193 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2013-09-14pm: EDP: enable updates via sysfsSivaram Nair
This patch allows the user space to issue E-state and threshold change requests. E-state updates are allowed only if the change is guaranteed to be approved. Change-Id: Id31f06ebb95f0b1fdfce205cb17038cb7a9eb30e Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/145256 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com> Rebase-Id: R91a3a085ffb54115e0e45297b1a6716d7529260c
2013-09-14pm: EDP: adding temporal governorsSivaram Nair
Following time based governors are added. (1) LRR - least recently requested (2) MRR - most recently requested (3) RR - round robin Change-Id: I4432a10f724c772f60ccb89914cd6d14c1114681 Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/140846 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com> Rebase-Id: R9de163f0bb4ea376273c4093aaaf73269b4e121a
2013-09-14pm: EDP: adding best-fit governorSivaram Nair
This patch adds the best-fit governor to EDP framework. Change-Id: I6dc6a3949d04953cd80365499bdc425804937985 Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/140845 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Rebase-Id: R8461b7ae836ded12c9689197fb4ab0e0bb075e53
2013-09-14pm: EDP: add fair governorSivaram Nair
This patch adds the fair governor to EDP framework. This governor allocates the available current budget proportional to the E0 state level of clients. Change-Id: I6bfac59e3c64ffe0917171af9246d0b287f5da66 Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/140844 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Rebase-Id: R199b1d61b5aee77dbb53792d0035d844dee3734a
2013-09-14pm: EDP: remove spurious notificationSivaram Nair
This patch fixes a bug which causes spurious callbacks/notifications being sent to clients. Change-Id: I833556136c7801391a4eed714d476c8f23e18748 Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/140843 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Rebase-Id: Rda010191eca94360ac2c9f523da561ef1d5df114
2013-09-14pm: EDP: bug fixesSivaram Nair
This patch includes several minor bug fixes: (1) fixing example documentation (2) fixing minor errors in sysfs (3) fixing governor initcalls to postcore (4) adding missing include Change-Id: I3c1115cc23e6e887c083801a59143c5a06e75d12 Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/132525 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Rebase-Id: R67853ff1b522ed3a628b8794f93d5d6c8d91b9d8
2013-09-14pm: EDP: fixing simulator build breakSivaram Nair
This patch fixes a build break in configs where CONFIG_PM is disabled. Change-Id: I8f51b9808ffb9b546c4772d50ac95bcbc37ee7ab Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/132118 Tested-by: Terje Bergstrom <tbergstrom@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Rebase-Id: R92014fdc919695d83510fb5dc243be7c33df080b
2013-09-14pm: EDP: added overage governorSivaram Nair
This patch adds the overage governor to EDP framework. Change-Id: I2f587e6df9556206fec2a3f3b64a2e35514a3d20 Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/131067 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Rebase-Id: R364f657f9e124162c1eaa53f94c85ce2637e6824
2013-09-14pm: EDP: refactoring and bug fixesSivaram Nair
(1) identified some generic governor functions and moved to edp.c. (2) Changes to allow duplicate E-state entries (as long as they are in sorted sorted order and at least one of them is non-zero) Change-Id: Iff5f07b3291fb0fd90449abf68d5bed77e8d7df1 Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/131066 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Rebase-Id: R4844b5624d14c2765aed6fdfb5e042c4daa186f4
2013-09-14pm: EDP: adding sysfs entriesSivaram Nair
This patch adds sysfs entries to represent the EDP framework. The sysfs is at /sys/power/edp. Change-Id: If562d7745a99e5324a982f91991d2dfeacacb84e Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/130510 Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Rebase-Id: Rb266b16ac6e6529a3f4c06c4ad791663ee25d483
2013-09-14pm: EDP: refactoringSivaram Nair
Minor refactoring to prepare the code for adding sysfs entries. Change-Id: I12cb12f1a22b5064a284da12b27687ab2ed209f8 Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/127889 Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Rebase-Id: R9d968648c17b20f2ea34dbf1aea75c3894cd93bc
2013-09-14pm: EDP: adding priority governorSivaram Nair
This patch adds the priority governor to EDP framework. When throttling is required, lower priority clients are picked first. Change-Id: I9e673f35dbe98728bb2fbd9e4ca1c7af684e1d1c Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/125226 Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Rebase-Id: Rf2ce126a47698b2c6c0e0ba29b96fcdaf672dc52
2013-09-14pm: EDP: Add governor frameworkSivaram Nair
This patch introduces the governor framework into EDP. Governor will handle all request related processing including issuing of notifications and throttling. A single governor can be used by multiple managers. Change-Id: If0f97107d6a2df9dfa22e7e84c1f48ba27d27280 Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/125225 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Rebase-Id: Rfd6dca218da5cdeb0fe36f55d9e8facee57e10ac
2013-09-14pm: EDP: adding client prioritySivaram Nair
This patch adds the priority field to EDP client. List of clients with the EDP manager are kept sorted on this field. Change-Id: I53bb5c0b826a4f02ed1e8e1729463ce8b754fc55 Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/125224 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Rebase-Id: Rabdca134769a1ecec9514ddd05d95907ecb638a8
2013-09-14pm: EDP: fixing license textSivaram Nair
License text updated to correct version Change-Id: I55fa5ad518f559fada8a55bb058d166318b7eed3 Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/125223 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Rebase-Id: R2f270662f25c102e395440d1f0427d0c70c0ae08
2013-09-14pm: EDP: loan handlingSivaram Nair
Added EDP loan APIs and single-borrower implementation. Change-Id: Ib4c3777d7173d16d5d002fd28e8f74f1b6add239 Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/115713 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com> Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com> Rebase-Id: Ra6cc737afbf28071386398d65767398f6f41789b
2013-09-14pm: EDP: Makefile for EDP frameworkSivaram Nair
Change-Id: I85f9f0d409d4a783c2611babf3896fb21b3cc0bf Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/115711 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Rb35e1cc193f01d51a880eefe3da01a25c7ab161a
2013-09-14pm: EDP: Kconfig for EDPSivaram Nair
Defines the config flag Change-Id: Ica61f66d81ec1364575f7da9593e6a83796e574a Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/115708 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Rb7d2e59ee4fd07ad4a1e37ce30e48aea820fe1e2