Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2f61a834 authored by Jordan Crouse's avatar Jordan Crouse
Browse files

msm: kgsl: Fix circular dependency between KGSL and devfreq



If QCOM_SCM happens to not be selected we get into a funky little loop
between the devfreq governor and the KGSL driver since they depend on
each other.  Solve it by making KGSL always use QCOM_SCM (because it
does) and remove the dependency on QCOM_SCM from the governor and just
let it depend entirely on KGSL.

Change-Id: Ic0dedbadd703dcdb1e78a896585760132045cdf1
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent 6e9f8d30
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -133,7 +133,7 @@ comment "DEVFREQ Drivers"

config DEVFREQ_GOV_QCOM_ADRENO_TZ
	tristate "Qualcomm Technologies Inc Adreno Trustzone"
	depends on QCOM_KGSL && QCOM_SCM
	depends on QCOM_KGSL
	help
	   Trustzone based governor for the Adreno GPU. Sets
	   the frequency using a "on-demand" algorithm. This
+1 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@ config QCOM_KGSL
	select GENERIC_ALLOCATOR
	select FW_LOADER
	select PM_DEVFREQ
	select QCOM_SCM
	select DEVFREQ_GOV_SIMPLE_ONDEMAND
	select DEVFREQ_GOV_PERFORMANCE
	select DEVFREQ_GOV_QCOM_ADRENO_TZ