Currently, there is a race condition in GenPD framework where
GPU CX GDSC can remain ON if both GMU and KGSL SMMU devices are
suspending in parallel and are voting on the same power domain.
Use a dedicated power domain for CX GDSC voting as per latest
recommendation.
Change-Id: Iffeb9a7f24a5e3c31a425e57b021f87f8f94c7fb
Signed-off-by: Kamal Agrawal <quic_kamaagra@quicinc.com>
This reverts commit aacf97b953.
Change-Id: I3337457b06ba37da2cfa902e04de367195a4836a
Signed-off-by: V S Ganga VaraPrasad (VARA) Adabala <quic_vadabala@quicinc.com>
Ensure the Sun V2 GPU Turbo_L1 frequency is available
on AA and AB parts.
Change-Id: I45f6b804a81211584efe4fcb06e4c7b3dc848263
Signed-off-by: Carter Cooper <quic_ccooper@quicinc.com>
Currently, there is a race condition in GenPD framework where
GPU CX GDSC can remain ON if both GMU and KGSL SMMU devices are
suspending in parallel and are voting on the same power domain.
Guidance from genpd team is to use a dedicated power domain for
CX GDSC voting.
Change-Id: Iffeb9a7f24a5e3c31a325e57b021f87f8f94c7fb
Signed-off-by: Kamal Agrawal <quic_kamaagra@quicinc.com>
Start the GPU at a slightly higher frequency than the lowest
available frequency on Sun V2 devices.
Change-Id: I379fa4d7223486b5636933644e2fda6cbc20443a
Signed-off-by: Carter Cooper <quic_ccooper@quicinc.com>
Add the AA SKU to the Sun v2 powerlevels so that it is recognized and
selects the appropriate powerlevel table.
Change-Id: I319f9ba739a83dbb77b3cbaed3b8712de6ff407f
Signed-off-by: Lynus Vaz <quic_lvaz@quicinc.com>
Lower the GPU bus range for 222Mhz powerlevel for Sun V2 devices.
Change-Id: I09b5cc3019751c8dfa67d1a8fd53f6d122404fdb
Signed-off-by: Carter Cooper <quic_ccooper@quicinc.com>
Start the GPU at a slightly higher frequency than the lowest
available frequency on Sun V2 devices.
Change-Id: I212c07af5de4c665ba2ff836c97f2ba1381d8fb8
Signed-off-by: Carter Cooper <quic_ccooper@quicinc.com>
Add the AA SKU to the Sun v2 powerlevels so that it is recognized and
selects the appropriate powerlevel table.
Change-Id: I5bb706e3477efa390a8b40d24f85daabe111a0b8
Signed-off-by: Lynus Vaz <quic_lvaz@quicinc.com>
Update 607/660Mhz GPU max DDR limits for Sun V1 and V2.
Change-Id: I94e3047155c3c1ed1c078090f7ac165c10317099
Signed-off-by: Carter Cooper <quic_ccooper@quicinc.com>
Start the GPU at a slightly higher frequency than the lowest
available frequency on Sun V2 devices.
Change-Id: I212c07af5de4c665ba2ff836c97f2ba1381d8fb8
Signed-off-by: Carter Cooper <quic_ccooper@quicinc.com>
Read the gpu speed bin devicetree property on sun devices.
Change-Id: I54c444bc434a2475ffe5126b7452f642f4dc7b2a
Signed-off-by: Lynus Vaz <quic_lvaz@quicinc.com>
Add powerlevels on sun v2 GPUs based on the speed bin fuse on the device.
Change-Id: Ia0b35aabce36ab210ed01ea3c8abb90c05e74ac6
Signed-off-by: Lynus Vaz <quic_lvaz@quicinc.com>
Update ACD values with characterized values for Sun v2 GPU. Also disable
ACD on lower levels.
Change-Id: Ic5f0d7adb7a71be16f393ff90a6d0199179276a3
Signed-off-by: Mohammed Mirza Mandayappurath Manzoor <quic_mmandaya@quicinc.com>
Add the AA SKU to the Sun v2 powerlevels so that it is recognized and
selects the appropriate powerlevel table.
Change-Id: I5bb706e3477efa390a8b40d24f85daabe111a0b8
Signed-off-by: Lynus Vaz <quic_lvaz@quicinc.com>
All lower GPU frequencies are available and the lowest frequency
is no longer considered 'thermal only'. Remove the tag to allow
the lowest GPU frequency as a normal corner for Sun V2.
Change-Id: I3c2384a0d8d107393d71a3dbf8c22090304e64a7
Signed-off-by: Carter Cooper <quic_ccooper@quicinc.com>
Update bus votes for LOW_SVS_D1 corner to have the better power savings.
Signed-off-by: Hareesh Gundu <quic_hareeshg@quicinc.com>
Signed-off-by: Xhoendi Collaku <quic_xcollaku@quicinc.com>
Change-Id: If0bbb204446d98117264dde29622c43cfc9058d0
Add powerlevels on sun v2 GPUs based on the speed bin fuse on the device.
Change-Id: Ia0b35aabce36ab210ed01ea3c8abb90c05e74ac6
Signed-off-by: Lynus Vaz <quic_lvaz@quicinc.com>
Update ACD values with characterized values for Sun v2 GPU. Also disable
ACD on lower levels.
Change-Id: Ic5f0d7adb7a71be16f393ff90a6d0199179276a3
Signed-off-by: Mohammed Mirza Mandayappurath Manzoor <quic_mmandaya@quicinc.com>
Read the gpu speed bin devicetree property on sun devices.
Change-Id: I54c444bc434a2475ffe5126b7452f642f4dc7b2a
Signed-off-by: Lynus Vaz <quic_lvaz@quicinc.com>
All lower GPU frequencies are available and the lowest frequency
is no longer considered 'thermal only'. Remove the tag to allow
the lowest GPU frequency as a normal corner for Sun V2.
Change-Id: I3c2384a0d8d107393d71a3dbf8c22090304e64a7
Signed-off-by: Carter Cooper <quic_ccooper@quicinc.com>
Update the frequency tables for AB and AC SKUs.
Change-Id: I74ca8d69d9584b98e36c8aacd39d0b435cf15154
Signed-off-by: Carter Cooper <quic_ccooper@quicinc.com>