Commit Graph

100 Commits

Author SHA1 Message Date
Kamal Agrawal
27a8290746 ARM: dts: msm: Add GMU CX GenPD instance
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>
2024-10-26 21:58:36 +05:30
V S Ganga VaraPrasad (VARA) Adabala
f13aad44f1 Revert "ARM: dts: msm: Add GMU CX GenPD instance"
This reverts commit aacf97b953.

Change-Id: I3337457b06ba37da2cfa902e04de367195a4836a
Signed-off-by: V S Ganga VaraPrasad (VARA) Adabala <quic_vadabala@quicinc.com>
2024-10-26 21:57:48 +05:30
Linux Build Service Account
72c5e6fd29 Merge 13196ae45e on remote branch
Change-Id: I97450590a4d7151b1f7d20f14e99bdd0a466782b
2024-10-23 03:23:25 -07:00
Carter Cooper
13196ae45e ARM: dts: msm: Add Turbo_L1 support to Sun V2 GPU freq plan
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>
2024-10-02 20:58:05 -07:00
Kamal Agrawal
aacf97b953 ARM: dts: msm: Add GMU CX GenPD instance
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>
2024-09-26 05:20:54 -07:00
Linux Build Service Account
ab7b885343 Merge 6ebc4a3afd on remote branch
Change-Id: I757ed1367cd2e8c45c41a904ecabf02aaac1bfeb
2024-09-03 10:17:26 -07:00
QCTECMDR Service
6ebc4a3afd Merge "ARM: dts: msm: Update Sun V2 GPU bus level for LOW_SVS_D2 powerlevel" 2024-08-22 12:43:08 -07:00
Linux Build Service Account
e9a2b76082 Merge 7aa9ba0278 on remote branch
Change-Id: I84411758ada697e125351b9fb9da9aec3ddd4293
2024-08-18 14:35:51 -07:00
Linux Image Build Automation
0a9efa4909 Revert "ARM: dts: msm: Add more SKUs to the Sun v2 powerlevels"
This reverts commit bb0a96df5d.

Change-Id: Ib7af7f73e512c63cbcb35082c57a9c1cd9360828
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-08-15 19:44:53 -07:00
Linux Image Build Automation
4d9ebbc72b Revert "ARM: dts: msm: Set initial Sun V2 GPU freq to 222Mhz"
This reverts commit 4a82759d8e.

Change-Id: Ifd4fc34dbe8d3c9b2ce79384e3323a950b41eb3e
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-08-15 19:44:41 -07:00
Carter Cooper
4a82759d8e ARM: dts: msm: Set initial Sun V2 GPU freq to 222Mhz
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>
2024-08-11 23:08:19 -07:00
Lynus Vaz
bb0a96df5d ARM: dts: msm: Add more SKUs to the Sun v2 powerlevels
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>
2024-08-11 23:07:56 -07:00
QCTECMDR Service
7aa9ba0278 Merge "ARM: dts: msm: Set initial Sun V2 GPU freq to 222Mhz" 2024-08-06 23:24:17 -07:00
QCTECMDR Service
2aada26dda Merge "ARM: dts: msm: Update Sun GPU max DDR vote at SVS_L0 and SVS" 2024-08-06 23:24:17 -07:00
Linux Image Build Automation
72d5c11a95 Revert "ARM: dts: msm: Add more SKUs to the Sun v2 powerlevels"
This reverts commit 0d7213a179.

Change-Id: If03cbdb8cb6d79043685bd0c3efad3416b8a256a
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-07-31 14:23:27 -07:00
Linux Image Build Automation
3beda34470 Revert "ARM: dts: msm: Set initial Sun V2 GPU freq to 222Mhz"
This reverts commit bff4b4e7a3.

Change-Id: Id7cbf89788a32173572790e7ee3ede0e44e3956b
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-07-31 14:23:15 -07:00
Carter Cooper
8c1b2e5dea ARM: dts: msm: Update Sun V2 GPU bus level for LOW_SVS_D2 powerlevel
Lower the GPU bus range for 222Mhz powerlevel for Sun V2 devices.

Change-Id: I09b5cc3019751c8dfa67d1a8fd53f6d122404fdb
Signed-off-by: Carter Cooper <quic_ccooper@quicinc.com>
2024-07-29 11:39:22 -06:00
Carter Cooper
bff4b4e7a3 ARM: dts: msm: Set initial Sun V2 GPU freq to 222Mhz
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>
2024-07-27 14:24:14 -07:00
Lynus Vaz
0d7213a179 ARM: dts: msm: Add more SKUs to the Sun v2 powerlevels
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>
2024-07-27 14:24:12 -07:00
Carter Cooper
462e027ac1 ARM: dts: msm: Update Sun GPU max DDR vote at SVS_L0 and SVS
Update 607/660Mhz GPU max DDR limits for Sun V1 and V2.

Change-Id: I94e3047155c3c1ed1c078090f7ac165c10317099
Signed-off-by: Carter Cooper <quic_ccooper@quicinc.com>
2024-07-25 09:52:43 -07:00
Carter Cooper
be3a6ce74a ARM: dts: msm: Set initial Sun V2 GPU freq to 222Mhz
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>
2024-07-25 09:50:51 -07:00
Linux Build Service Account
494e166387 Merge 89b9fca649 on remote branch
Change-Id: I7bdb8732fc7952867f80eddabea5a4136021f015
2024-07-22 15:59:02 -07:00
Linux Image Build Automation
956a4269fc Revert "ARM: dts: msm: Update Sun V2 GPU frequencies"
This reverts commit 154f54c2c9.

Change-Id: I1467766328bdd388756d9a2f953b6ad08d72c8a7
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-07-17 01:30:28 -07:00
Linux Image Build Automation
2bb9ffca03 Revert "ARM: dts: msm: Update ACD values for Sun v2 GPU"
This reverts commit 7f2973e909.

Change-Id: I2c495f62d3fc64a0b562902d7feafd10c3ccecb6
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-07-17 01:30:16 -07:00
Linux Image Build Automation
5c8cb8774d Revert "ARM: dts: msm: Use the speed bin fuse to determine sun v2 powerlevels"
This reverts commit 243ac95d77.

Change-Id: Icb9ba0692ee9c7e6812475ba731db30ebcdc75c2
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-07-17 01:30:04 -07:00
Linux Image Build Automation
8106ee0f68 Revert "ARM: dts: msm: Update Sun v2 GPU power levels"
This reverts commit b2bd3d7a6d.

Change-Id: I56502b5d3035c18bd8c8a04cf00f76d22b552f25
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-07-17 01:29:51 -07:00
Linux Image Build Automation
eb96d382eb Revert "ARM: dts: msm: Read the gpu speed bin on sun devices"
This reverts commit 87220e2e95.

Change-Id: I7315a736fc914d475d54060193526958dc869007
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-07-17 01:29:39 -07:00
QCTECMDR Service
89b9fca649 Merge "ARM: dts: msm: Read the gpu speed bin on sun devices" 2024-07-13 02:42:23 -07:00
Lynus Vaz
87220e2e95 ARM: dts: msm: Read the gpu speed bin on sun devices
Read the gpu speed bin devicetree property on sun devices.

Change-Id: I54c444bc434a2475ffe5126b7452f642f4dc7b2a
Signed-off-by: Lynus Vaz <quic_lvaz@quicinc.com>
2024-07-10 16:23:08 -07:00
Lynus Vaz
b2bd3d7a6d ARM: dts: msm: Update Sun v2 GPU power levels
Add more powerlevel bins based on updated speed-bin fuse values.

Change-Id: I4faf67ffad06ba5873c0e9879b7729f796952d3a
Signed-off-by: Lynus Vaz <quic_lvaz@quicinc.com>
2024-07-10 16:23:05 -07:00
Lynus Vaz
243ac95d77 ARM: dts: msm: Use the speed bin fuse to determine sun v2 powerlevels
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>
2024-07-10 16:23:04 -07:00
Mohammed Mirza Mandayappurath Manzoor
7f2973e909 ARM: dts: msm: Update ACD values for Sun v2 GPU
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>
2024-07-10 16:23:03 -07:00
Carter Cooper
154f54c2c9 ARM: dts: msm: Update Sun V2 GPU frequencies
Add new GPU frequency support for Sun V2.

Change-Id: I66a6584a671e51a8420e2ceaace3c067ee56d009
Signed-off-by: Carter Cooper <quic_ccooper@quicinc.com>
2024-07-10 16:23:02 -07:00
Lynus Vaz
6a4b833d28 ARM: dts: msm: Add more SKUs to the Sun v2 powerlevels
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>
2024-07-08 11:33:08 -07:00
Linux Build Service Account
1e85861b7f Merge 9cbd03668a on remote branch
Change-Id: I59cbfed28f071ce14063c50577e447ef2315b0fb
2024-07-05 17:19:42 -07:00
Linux Image Build Automation
e5bce453ee Revert "ARM: dts: msm: Update LOW_SVS_D1 bus votes for sun"
This reverts commit 104705ce03.

Change-Id: I998d09ee8be103980f7ed35661c435da4813aa39
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-07-03 13:42:26 -07:00
Linux Image Build Automation
da7da2351e Revert "ARM: dts: msm: Update Sun V2 GPU external SKU frequency plan"
This reverts commit ffe4d3c206.

Change-Id: Ie5c8dbc03629255b1ad44813fbb84ba31081f6fd
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-07-03 13:42:13 -07:00
Linux Image Build Automation
7fbfbf06b7 Revert "ARM: dts: msm: Remove Sun V2 thermal only GPU frequencies"
This reverts commit 06cbe225fa.

Change-Id: Ia0c36ac50cd2a9f8fc3ab823d9625c3c09ad5b8a
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-07-03 13:35:34 -07:00
Carter Cooper
06cbe225fa ARM: dts: msm: Remove Sun V2 thermal only GPU frequencies
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>
2024-06-26 02:14:44 -07:00
Lynus Vaz
e718fd3680 ARM: dts: msm: Update Sun v2 GPU power levels
Add more powerlevel bins based on updated speed-bin fuse values.

Change-Id: I4faf67ffad06ba5873c0e9879b7729f796952d3a
Signed-off-by: Lynus Vaz <quic_lvaz@quicinc.com>
2024-06-25 15:14:18 -07:00
Carter Cooper
ffe4d3c206 ARM: dts: msm: Update Sun V2 GPU external SKU frequency plan
Update the frequency tables for AB and AC SKUs.

Signed-off-by: Carter Cooper <quic_ccooper@quicinc.com>
Signed-off-by: Xhoendi Collaku <quic_xcollaku@quicinc.com>
Change-Id: I0b19eb8cbb4867ac565fe7c8f381b1c2ba1e3c76
Signed-off-by: Xhoendi Collaku <quic_xcollaku@quicinc.com>
2024-06-24 14:45:20 -07:00
Hareesh Gundu
104705ce03 ARM: dts: msm: Update LOW_SVS_D1 bus votes for sun
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
2024-06-24 14:43:09 -07:00
Lynus Vaz
361c4aa349 ARM: dts: msm: Use the speed bin fuse to determine sun v2 powerlevels
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>
2024-06-21 09:31:56 -07:00
Bruce Levy
127483cf3f Revert "ARM: dts: msm: Update LOW_SVS_D1 bus votes for sun"
This reverts commit 3a579891a4.

Signed-off-by: Bruce Levy <quic_blevy@quicinc.com>
Change-Id: I85222624406eb4a2fb52a0ff3e6e320b89a56b53
2024-06-18 23:06:44 -07:00
Bruce Levy
2a80873bf1 Revert "ARM: dts: msm: Update Sun V2 GPU external SKU frequency plan"
This reverts commit 4fe74b9768.

Signed-off-by: Bruce Levy <quic_blevy@quicinc.com>
Change-Id: If4dd9a1ba8ae7d5e8f2ed24a9acede3057b446fa
2024-06-18 23:06:29 -07:00
Mohammed Mirza Mandayappurath Manzoor
8c6526dcaa ARM: dts: msm: Update ACD values for Sun v2 GPU
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>
2024-06-18 16:38:08 -07:00
Lynus Vaz
24406b833c ARM: dts: msm: Read the gpu speed bin on sun devices
Read the gpu speed bin devicetree property on sun devices.

Change-Id: I54c444bc434a2475ffe5126b7452f642f4dc7b2a
Signed-off-by: Lynus Vaz <quic_lvaz@quicinc.com>
2024-06-17 16:12:23 -07:00
Carter Cooper
48b0e9aa44 ARM: dts: msm: Update Sun V2 GPU frequencies
Add new GPU frequency support for Sun V2.

Change-Id: I66a6584a671e51a8420e2ceaace3c067ee56d009
Signed-off-by: Carter Cooper <quic_ccooper@quicinc.com>
2024-06-17 16:51:52 -06:00
Carter Cooper
9cbd03668a ARM: dts: msm: Remove Sun V2 thermal only GPU frequencies
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>
2024-06-10 09:46:21 -07:00
Carter Cooper
4fe74b9768 ARM: dts: msm: Update Sun V2 GPU external SKU frequency plan
Update the frequency tables for AB and AC SKUs.

Change-Id: I74ca8d69d9584b98e36c8aacd39d0b435cf15154
Signed-off-by: Carter Cooper <quic_ccooper@quicinc.com>
2024-06-07 18:35:39 -07:00