Repository navigation
drm/apple: dcp: stop the T6040 internal DCP in s2idle too - #3884
Conversation
The internal-DCP stop across s2idle and runtime DPMS leaves out T6040 (M4 Pro). T6040 has the same display-power block as T6041 (same address, apple,t6041-display-power fallback), the same apple,t6041-dcp internal DCP, and its deep sleep already stops and restarts that DCP through the same dcp_t6041_stop_dev() path. Nothing in the hardware calls for the exclusion, so drop it. On the J616s (16-inch M4 Pro, 26.6.2 firmware, main's DT), s2idle now stops and cold-starts the internal DCP: 4/4 s2idle cycles (one entered with DPMS off) and a deep sleep pass with the panel back each time. Suspend and resume each take about 0.16 s longer. The runtime DPMS power cycle only runs on the soft-DPMS (H17P/firmware 27) route, so on 26.6 firmware DPMS-off is unchanged (3.57 W against 3.56 W, 20/20 cycles); it applies to a T6040 on firmware 27 the same as on T6041. The KUnit capability check now expects T6040 to be capable.
DjDeveloperr
left a comment
There was a problem hiding this comment.
Reviewed 95178f3. T6040 has the same display-power block and internal DCP, and its deep sleep already stops that DCP through dcp_t6041_stop_dev(), so dropping the t6040 exclusion is consistent. The KUnit DPMS policy case is updated to match. One note for the record: on firmware 27 this also turns on the runtime DPMS power cycle for T6040, which the PR lists under Not yet. Merge waits on the exact-head J616s row and CI.
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
|
Exact-head hardware row at
|
What: Drop the
!t6040clause fromdcp_t6041_internal_capable()so T6040 (M4 Pro) stops and cold-starts its internal DCP across s2idle (and, on firmware 27, runtime DPMS) like T6041, as merged in #3861. Follow-up to #3861, as proposed there.T6040 has the same
display-powerblock as T6041 (same address,apple,t6041-display-powerfallback) and the sameapple,t6041-dcpinternal DCP; its deep sleep (#2215) already stops and restarts that DCP throughdcp_t6041_stop_dev(). The KUnit DPMS policy case now expects T6040 to be capable.Tested:
f53f2fe9+ drm/apple: dcp: stop T6041 internal DCP during s2idle and runtime DPMS #3861 + this change (lab build): s2idle 4/4 PASS (one entered with DPMS off), internal DCP stopped and cold-started each time, panel back each time; suspend/resume each about 0.16 s longer; deep sleep PASS; 20/20 DPMS cycles PASS; DPMS-off power unchanged (3.57 W vs 3.56 W, the power cycle only runs on the firmware-27 soft-DPMS route); 0 failed units. Same row without this change for comparison: drm/apple: dcp: stop T6041 internal DCP during s2idle and runtime DPMS #3861 comment 7333969553.Risk: two-way · T6040 (revert restores the T6041-only gate; T6041 path unchanged).
Not yet: T6040 on firmware 27 (runtime DPMS power cycle); 26.x-firmware DPMS-off power for T604x is linux#3866.