Commit graph

6 commits

Author SHA1 Message Date
Harshdeep Dhatt
9767c52161 msm: kgsl: Add support for tuning bus accesses for bus dcvs
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>
2019-09-10 16:28:55 -06:00
qctecmdr
48e0d55443 Merge "devfreq: Fix signedness of percentages array" 2019-07-19 20:33:57 -07:00
Harshdeep Dhatt
34eb0582e4 devfreq: Remove extra gpu bus ib vote
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>
2019-07-15 14:11:45 -06:00
Jordan Crouse
7e1fc2b2af devfreq: Update the callback function for governor_bw_vbif
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>
2019-07-15 14:11:13 -06:00
Harshdeep Dhatt
82f7cba8a6 devfreq: Fix signedness of percentages array
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>
2019-07-10 22:24:18 -06:00
Urvashi Agrawal
0a88312f6b msm: kgsl: Add Qualcomm GPU driver for kona
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>
2018-11-28 14:38:14 -08:00