If the tuning parameter is present in the devicetree, do not use a
floating water-mark approach for bus dcvs. This fixes an issue where
we upvote due to stalled cycles but never down vote even when stalled
cycles have receded below the threshold.
Change-Id: Ia799b33a31de1c5e4ff4ad5b3f30d4585ec85e3c
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
Targets which send the bus ib vote via gmu do not need
to send the bus ib vote from cpu.
Change-Id: If54d4840335aefbd2c3fec1b4c62bfa7f38e8940
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
Update the callback function used by governor_bw_vbif to get the current
bandwidth settings from the GPU to include the IB, AB and an opaque
data pointer.
Change-Id: Ic0dedbad4ea9f0d85d99841d7f15c7be5eb63b8f
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
It is possible that this array may contain a negative
value and if so, it is corrected using bounds checking.
However, bounds are not properly applied because the negative
value is seen as a very high unsigned integer.
Change-Id: I546d1ecacace185427d6fbf78e95bf8cb67f92c9
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
Add snapshot of GPU driver as of commit 9ac69cf (clk: qcom: gcc:
Support code for clock controller for sdxprairie).
Fixed compile errors,checkpatch issues, header refs and API changes:
* Fix setup_timer API to use the new API
* Add a missing argument to of_dma_configure
* Rename cmd_db_get_aux_data
* Change member name of tcs_cmd from complete to wait
* Support new IDR_INIT API
* Support new usage of llcc_slice_getd API
* Remove the custom KGSL logging macros
* Add utility functions for CP P4 identifiers
and CP protected mode
* Add functions for GMU core operations
* Add helper functions to request interrupts
* Replace adreno_getproperty with an array
* Remove module params
* Fix Coccinelle warnings
Change-Id: Ifa57a94f2247fe90c713f1943882d75a60a554a5
Signed-off-by: Urvashi Agrawal <urvaagra@codeaurora.org>