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: Jordan Crouse <jcrouse@codeaurora.org>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user