Commit graph

2 commits

Author SHA1 Message Date
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