From 46245a60d0ff6e76d753a9b3e8f5e1ae127036c9 Mon Sep 17 00:00:00 2001 From: DjDeveloperr Date: Thu, 3 Dec 2026 17:52:31 -0500 Subject: [PATCH 1/2] drm/apple: gate T6020 DCP S2R layouts on apple,sleep-tested and drop s2r_untested On main, appledrm.s2r_untested defaults to true, so T6020's internal DCP sleep layout (DPMS off stops firmware and powers down display domains) and external USB-C dcpext layout (s2r_ext and ext-idle on s2idle) are enabled by default on every T602x board running firmware 27.x, including boards without apple,sleep-tested (J416s, J474s, T6021, T6022). Remove the appledrm.s2r_untested module parameter and replace hw.s2r_untested with two declarative hw_data fields: - s2r_v27_only: restrict the static layout to firmware 27.x (used by T6020 and T8142, keeping T8142 J813/J815 behavior unchanged on 27.x and off on 26.x/H17P). - s2r_sleep_tested_compat: require an available sleep-controller node matching this compatible with apple,sleep-tested in the device tree (via apple_sleep_tested() in linux/soc/apple/sleep.h), matching sleep.c's per-board gate for SoCs with .untested = true. Set s2r_sleep_tested_compat = "apple,t6020-sleep" on apple_dcp_hw_t6020 and apple_dcp_hw_t6020_dcpext so J414s (which carries apple,sleep-tested) keeps the layouts on firmware 27.x while untested T602x boards keep internal DPMS backlight-only and external dcpext out of ext-idle. Add KUnit coverage in dcp_s2r_test.c verifying internal, external S2R, and ext-idle gating for tested vs untested T6020 boards, non-v27 firmware, and T8142. Signed-off-by: DjDeveloperr --- drivers/gpu/drm/apple/dcp-firmware-test.c | 1 - drivers/gpu/drm/apple/dcp-internal.h | 10 ++- drivers/gpu/drm/apple/dcp.c | 75 +++++++++++--------- drivers/gpu/drm/apple/dcp_s2r_test.c | 84 +++++++++++++++++++++++ include/linux/soc/apple/sleep.h | 17 +++++ 5 files changed, 152 insertions(+), 35 deletions(-) diff --git a/drivers/gpu/drm/apple/dcp-firmware-test.c b/drivers/gpu/drm/apple/dcp-firmware-test.c index 57b950fa07ddc..381fa201be7d6 100644 --- a/drivers/gpu/drm/apple/dcp-firmware-test.c +++ b/drivers/gpu/drm/apple/dcp-firmware-test.c @@ -509,7 +509,6 @@ static void dcp_ext_idle_audio_dma_pin(struct kunit *test) KUNIT_ASSERT_NOT_NULL(test, dcp); dcp->dev = &dev; dcp->hw = apple_dcp_hw_t8142_dcpext; - dcp->hw.s2r_untested = false; dcp->fw_compat = DCP_FIRMWARE_V_27_0; dcp->v27_methods = iomfb_v27_methods("27.2.0"); KUNIT_ASSERT_NOT_NULL(test, dcp->v27_methods); diff --git a/drivers/gpu/drm/apple/dcp-internal.h b/drivers/gpu/drm/apple/dcp-internal.h index 9fcc4d697000d..622d1b72c1016 100644 --- a/drivers/gpu/drm/apple/dcp-internal.h +++ b/drivers/gpu/drm/apple/dcp-internal.h @@ -445,8 +445,14 @@ struct apple_dcp_hw_data { bool v27_early_stop; /* Required with @s2r */ const struct dcp_s2r_layout *s2r_layout; - /* @s2r with derived power words: firmware 27.0 only, off with appledrm.s2r_untested=0 */ - bool s2r_untested; + /* @s2r / @s2r_ext static layout requires firmware 27.0 (not 26.x / H17P) */ + bool s2r_v27_only; + /* + * If non-NULL, the static @s2r / @s2r_ext layout is enabled only when + * an available sleep-controller node matching this compatible carries + * apple,sleep-tested (matching sleep.c's per-board gate for .untested SoCs). + */ + const char *s2r_sleep_tested_compat; /* * @s2r without a secure mailbox: the SoC's ADT has no dcp-exclave-mailbox (T8142, on * firmware 27.0 and 27.2.1), so there is no secure port to idle before the IOP. diff --git a/drivers/gpu/drm/apple/dcp.c b/drivers/gpu/drm/apple/dcp.c index 42eadaea15233..a0b6a996688fa 100644 --- a/drivers/gpu/drm/apple/dcp.c +++ b/drivers/gpu/drm/apple/dcp.c @@ -413,8 +413,9 @@ static int dcp_secure_port_init(struct apple_dcp *dcp) * once its secure port has gone idle. A device tree without those keeps the firmware * running: DPMS is the backlight alone and the display stays up across a sleep. A SoC * without a secure mailbox says so (hw.s2r_no_secure_port). Power words from the device - * tree stop the firmware by default; a SoC whose static words are only derived (T8142) does - * so with appledrm.s2r_untested (default on). + * tree stop the firmware by default; a SoC whose static layout is tied to a per-board + * sleep gate (hw.s2r_sleep_tested_compat) enables it only when the board's DT marks that + * sleep controller with apple,sleep-tested. */ /* * hw.s2r without a layout in its hw data takes its words from the device tree, the ones its @@ -568,7 +569,7 @@ static void dcp_s2r_check_dt(struct apple_dcp *dcp) /* * Without a layout from the device tree, an external DCP keeps the fixed DISPEXT0 * sequence it had before (T8140); a firmware-27 one is then not dcp_s2r_ext_capable() - * without the lab parameter and refuses a deep sleep instead. + * and refuses a deep sleep instead. */ if (dcp->hw.s2r_ext && !dcp->hw.s2r_layout) { int ret = dcp_s2r_layout_from_dt(dcp) ?: dcp_s2r_layout_streams(dcp); @@ -578,8 +579,8 @@ static void dcp_s2r_check_dt(struct apple_dcp *dcp) dcp->s2r_dt_layout_ok = false; } } - if (dcp->hw.s2r && dcp->hw.s2r_untested) - dev_info(dcp->dev, "firmware stop enabled (appledrm.s2r_untested)\n"); + if (dcp->hw.s2r && dcp->hw.s2r_sleep_tested_compat) + dev_info(dcp->dev, "firmware stop enabled (apple,sleep-tested)\n"); } static void dcp_release_rtkit(void *data) @@ -754,16 +755,22 @@ static bool dcp_j714s_ext(struct device *dev) of_device_is_compatible(dev->of_node, "apple,t6050-dcpext"); } -/* - * The firmware stop on a SoC whose display power words were derived from its device tree - * instead of measured (T8142), on firmware 27.0. It runs through DPMS off and full deep - * sleeps and wakes on J813 and J815 (MacBook Air 13" and 15" M5), so it is on by default; - * appledrm.s2r_untested=0 keeps such a DCP's firmware running. - */ -static bool s2r_untested = true; -module_param(s2r_untested, bool, 0444); -MODULE_PARM_DESC(s2r_untested, - "Stop the DCP firmware on DPMS off and system sleep using derived T8142 power words (default 1)"); +static bool dcp_s2r_sleep_tested(const char *compat) +{ + KUNIT_STATIC_STUB_REDIRECT(dcp_s2r_sleep_tested, compat); + return apple_sleep_tested(compat); +} + +static bool dcp_s2r_static_layout_allowed(const struct apple_dcp_hw_data *hw, + enum dcp_firmware_version fw_compat) +{ + if (hw->s2r_v27_only && fw_compat != DCP_FIRMWARE_V_27_0) + return false; + if (hw->s2r_sleep_tested_compat && + !dcp_s2r_sleep_tested(hw->s2r_sleep_tested_compat)) + return false; + return true; +} bool dcp_t6041_ext_enabled(void) { @@ -9276,14 +9283,15 @@ static int dcp_platform_probe_pipe(struct platform_device *pdev) dcp->hw = apple_dcp_hw_t8132_v27; /* * A stop needs power words: a static layout, or the device tree's (see - * dcp_s2r_layout_from_dt(), offered by default). A SoC whose static words are only - * derived (hw.s2r_untested, T8142) is offered it only when asked for, and only on - * firmware 27.0, whose calls are the ones that ran with them. + * dcp_s2r_layout_from_dt(), offered by default). A static layout marked + * s2r_v27_only runs only on firmware 27.0, and one marked + * s2r_sleep_tested_compat runs only on boards whose DT marks that sleep + * controller with apple,sleep-tested. */ if (dcp->hw.s2r && ((!dcp->hw.s2r_layout && !of_property_present(dev->of_node, "apple,display-power")) || - (dcp->hw.s2r_untested && - (!s2r_untested || fw_compat != DCP_FIRMWARE_V_27_0)))) + (dcp->hw.s2r_layout && + !dcp_s2r_static_layout_allowed(&dcp->hw, fw_compat)))) dcp->hw.s2r = false; dcp->v27_sleep_transport = dcp_v27_sleep_transport_supported(dcp); /* The display such a processor finds at boot is its first sink. */ @@ -10889,12 +10897,13 @@ static bool dcp_s2r_ext_capable(struct apple_dcp *dcp) return false; if (dcp->fw_compat == DCP_FIRMWARE_V_27_0) /* - * Only with a power layout: the device tree's, or a static one (under the - * lab parameter while it is untested). Without one the fixed DISPEXT0 - * sequence below is not this DCP's. + * Only with a power layout: the device tree's, or a static one + * permitted by firmware generation and board sleep-tested state. + * Without one the fixed DISPEXT0 sequence below is not this DCP's. */ return (dcp->s2r_dt_layout_ok || - (dcp->hw.s2r_layout && (!dcp->hw.s2r_untested || s2r_untested))) && + (dcp->hw.s2r_layout && + dcp_s2r_static_layout_allowed(&dcp->hw, dcp->fw_compat))) && dcp->v27_methods && dcp->v27_methods[dcpep_unnamed_500].tag[0]; return dcp->fw_compat == DCP_FIRMWARE_H17P; @@ -13397,8 +13406,8 @@ static int dcp_platform_suspend(struct device *dev) /* * The same stop as DPMS off; without this system-suspend path an active - * panel leaves the DCP running. Probe already gates a derived power - * layout (T8142) on appledrm.s2r_untested. + * panel leaves the DCP running. Probe already gates static layouts on + * firmware generation and the board's apple,sleep-tested state. */ if (pm_suspend_via_firmware() && dcp_s2r_capable(dcp)) { int ret = dcp_s2r_suspend(dcp); @@ -13681,7 +13690,8 @@ static const struct apple_dcp_hw_data apple_dcp_hw_t6020 = { .num_dptx_ports = 1, .t6020_tunnel_flow = true, .s2r = true, - .s2r_untested = true, + .s2r_v27_only = true, + .s2r_sleep_tested_compat = "apple,t6020-sleep", .s2r_no_secure_port = true, .map_reg_dart = true, .s2r_disp_dart_with_dcp = true, @@ -13693,7 +13703,8 @@ static const struct apple_dcp_hw_data apple_dcp_hw_t6020_dcpext = { .num_dptx_ports = 2, .t6020_tunnel_flow = true, .s2r_ext = true, - .s2r_untested = true, + .s2r_v27_only = true, + .s2r_sleep_tested_compat = "apple,t6020-sleep", .s2r_no_secure_port = true, .map_reg_dart = true, .s2r_disp_dart_with_dcp = true, @@ -13758,9 +13769,9 @@ static const struct apple_dcp_hw_data apple_dcp_hw_t8142 = { .iomfb_method_profile = DCP_IOMFB_METHODS_H17G, .adopt_live_session = true, .firmware_compat = DCP_FIRMWARE_H17P, - /* Firmware 27.0's sleep calls (iomfb_v27.c), unless appledrm.s2r_untested=0 */ + /* Firmware 27.0's sleep calls (iomfb_v27.c); tested on J813/J815. */ .s2r = true, - .s2r_untested = true, + .s2r_v27_only = true, .s2r_no_secure_port = true, .s2r_layout = &dcp_s2r_t8142, }; @@ -13918,9 +13929,9 @@ static const struct apple_dcp_hw_data apple_dcp_hw_t8142_dcpext = { .sink_metadata_edid = true, .dptx_endpoint = DPTX_ENDPOINT, .dptx_controller = true, - /* TEST: firmware 27.2 link release, gated by appledrm.s2r_untested. */ + /* Firmware 27.2 link release on J813/J815. */ .s2r_ext = true, - .s2r_untested = true, + .s2r_v27_only = true, .s2r_no_secure_port = true, .s2r_layout = &dcp_s2r_t8142_ext[0], }; diff --git a/drivers/gpu/drm/apple/dcp_s2r_test.c b/drivers/gpu/drm/apple/dcp_s2r_test.c index 02dc4694722a1..2f77b37917b57 100644 --- a/drivers/gpu/drm/apple/dcp_s2r_test.c +++ b/drivers/gpu/drm/apple/dcp_s2r_test.c @@ -309,12 +309,96 @@ static void dcp_s2r_t8140_retained_ext_stop_unchanged(struct kunit *test) KUNIT_EXPECT_TRUE(test, dcp->typec_crtc_off); } +static bool dcp_s2r_test_sleep_tested_false(const char *compat) +{ + struct kunit *test = kunit_get_current_test(); + + KUNIT_EXPECT_STREQ(test, compat, "apple,t6020-sleep"); + return false; +} + +static bool dcp_s2r_test_sleep_tested_true(const char *compat) +{ + struct kunit *test = kunit_get_current_test(); + + KUNIT_EXPECT_STREQ(test, compat, "apple,t6020-sleep"); + return true; +} + +/* + * T6020 internal and external DCP S2R layouts stay off on boards whose + * apple,t6020-sleep node lacks apple,sleep-tested (e.g. J416s, J474s, T6021, + * T6022) and on non-v27 firmware; they enable automatically on firmware 27.x + * once the board marks apple,t6020-sleep with apple,sleep-tested (J414s). + */ +static void dcp_s2r_t6020_gated_by_sleep_tested(struct kunit *test) +{ + static const char compat[] = "apple,t6020-dcpext"; + struct property props[] = { + { .name = "apple,display-power", .next = &props[1] }, + { .name = "compatible", .length = sizeof(compat), + .value = (void *)compat }, + }; + struct device_node node = { + .name = "dcpext", + .full_name = "dcpext", + .properties = props, + }; + struct device dev = { + .init_name = "dcp-s2r-t6020-gate-test", + .of_node = &node, + }; + struct apple_dcp *dcp = kunit_kzalloc(test, sizeof(*dcp), GFP_KERNEL); + + KUNIT_ASSERT_NOT_NULL(test, dcp); + dcp->dev = &dev; + dcp->hw = apple_dcp_hw_t6020_dcpext; + dcp->fw_compat = DCP_FIRMWARE_V_27_0; + dcp->v27_methods = iomfb_v27_methods("27.2.0"); + KUNIT_ASSERT_NOT_NULL(test, dcp->v27_methods); + dcp->fixed_connector_type = DRM_MODE_CONNECTOR_USB; + + /* Untested T6020 board on fw 27.2: internal, external S2R and ext-idle stay off. */ + kunit_activate_static_stub(test, dcp_s2r_sleep_tested, dcp_s2r_test_sleep_tested_false); + KUNIT_EXPECT_FALSE(test, dcp_s2r_static_layout_allowed(&apple_dcp_hw_t6020, + DCP_FIRMWARE_V_27_0)); + KUNIT_EXPECT_FALSE(test, dcp_s2r_static_layout_allowed(&apple_dcp_hw_t6020_dcpext, + DCP_FIRMWARE_V_27_0)); + KUNIT_EXPECT_FALSE(test, dcp_s2r_ext_capable(dcp)); + KUNIT_EXPECT_FALSE(test, dcp_ext_idle_capable(dcp)); + + /* Board with apple,sleep-tested on apple,t6020-sleep (J414s): enabled on fw 27.x. */ + kunit_activate_static_stub(test, dcp_s2r_sleep_tested, dcp_s2r_test_sleep_tested_true); + KUNIT_EXPECT_TRUE(test, dcp_s2r_static_layout_allowed(&apple_dcp_hw_t6020, + DCP_FIRMWARE_V_27_0)); + KUNIT_EXPECT_TRUE(test, dcp_s2r_static_layout_allowed(&apple_dcp_hw_t6020_dcpext, + DCP_FIRMWARE_V_27_0)); + KUNIT_EXPECT_TRUE(test, dcp_s2r_ext_capable(dcp)); + KUNIT_EXPECT_TRUE(test, dcp_ext_idle_capable(dcp)); + + /* Even on a sleep-tested board, v27-only layouts stay off on 26.x / 13.5 firmware. */ + KUNIT_EXPECT_FALSE(test, dcp_s2r_static_layout_allowed(&apple_dcp_hw_t6020, + DCP_FIRMWARE_H17P)); + KUNIT_EXPECT_FALSE(test, dcp_s2r_static_layout_allowed(&apple_dcp_hw_t6020, + DCP_FIRMWARE_V_13_5)); + + /* T8142 (already sleep-tested on J813/J815) stays v27-only without the T6020 DT gate. */ + kunit_activate_static_stub(test, dcp_s2r_sleep_tested, dcp_s2r_test_sleep_tested_false); + KUNIT_EXPECT_TRUE(test, dcp_s2r_static_layout_allowed(&apple_dcp_hw_t8142, + DCP_FIRMWARE_V_27_0)); + KUNIT_EXPECT_TRUE(test, dcp_s2r_static_layout_allowed(&apple_dcp_hw_t8142_dcpext, + DCP_FIRMWARE_V_27_0)); + KUNIT_EXPECT_FALSE(test, dcp_s2r_static_layout_allowed(&apple_dcp_hw_t8142, + DCP_FIRMWARE_H17P)); +} + static struct kunit_case dcp_s2r_cases[] = { KUNIT_CASE(dcp_s2r_t8103_dcpext_wake_order), KUNIT_CASE(dcp_s2r_t8140_dcpext_wake_order), KUNIT_CASE(dcp_s2r_t8103_warm_restart_wake_order), KUNIT_CASE(dcp_s2r_t8142_dcpext_stop_rearms_hpd_ready), KUNIT_CASE(dcp_s2r_t8140_retained_ext_stop_unchanged), + KUNIT_CASE(dcp_s2r_t6020_gated_by_sleep_tested), {} }; diff --git a/include/linux/soc/apple/sleep.h b/include/linux/soc/apple/sleep.h index 39ab320931c91..f7a4cb2954407 100644 --- a/include/linux/soc/apple/sleep.h +++ b/include/linux/soc/apple/sleep.h @@ -37,6 +37,23 @@ static inline bool apple_t6050_sleep_described(void) return apple_t6050_sleep_property(NULL); } +/* + * Whether the device tree marks an available @compat sleep controller as + * tested (apple,sleep-tested), matching sleep.c's per-board gate for SoCs + * with apple_sleep_soc.untested = true. + */ +static inline bool apple_sleep_tested(const char *compat) +{ + struct device_node *np; + bool ret; + + np = of_find_compatible_node(NULL, NULL, compat); + ret = np && of_device_is_available(np) && + of_property_read_bool(np, "apple,sleep-tested"); + of_node_put(np); + return ret; +} + /* * A sleep controller in the device tree that takes the SMC through its saved-context policy * (apple,smc-sleep-policy): the SMC's last notices go out with interrupts off, on the From e6297d8c2203cd83f95934e1995abc1be1aba042 Mon Sep 17 00:00:00 2001 From: DjDeveloperr Date: Thu, 3 Dec 2026 18:08:33 -0500 Subject: [PATCH 2/2] tools/asahi: follow the sleep-tested gate in the S2R host test dcp-s2r-primary-ext-tests.py copies dcp_s2r_ext_capable() out of dcp.c and builds it against a small prelude. That function now calls dcp_s2r_static_layout_allowed(), and the prelude still declared s2r_untested, so the host test no longer compiled. Copy dcp_s2r_sleep_tested() and dcp_s2r_static_layout_allowed() as well, give the prelude the new hw fields and an apple_sleep_tested() stub, and add a case for a T6020-style external DCP: no external S2R on a board without apple,sleep-tested, external S2R on one with it. A new drop-sleep-tested mutation removes the gate and must fail; run-host-tests.py runs it with the others. Signed-off-by: DjDeveloperr --- tools/asahi/dcp-s2r-primary-ext-tests.py | 52 ++++++++++++++++++++---- tools/asahi/run-host-tests.py | 2 +- 2 files changed, 46 insertions(+), 8 deletions(-) diff --git a/tools/asahi/dcp-s2r-primary-ext-tests.py b/tools/asahi/dcp-s2r-primary-ext-tests.py index 3e80352f7bad9..dd8975dba714e 100755 --- a/tools/asahi/dcp-s2r-primary-ext-tests.py +++ b/tools/asahi/dcp-s2r-primary-ext-tests.py @@ -50,6 +50,13 @@ "(dcp_s2r_primary_external(dcp) && dcp->hw.s2r_no_secure_port);", "dcp_s2r_primary_external(dcp);", ), + # Offer a T6020 static layout on a board without apple,sleep-tested. + "drop-sleep-tested": ( + "\tif (hw->s2r_sleep_tested_compat &&\n" + "\t !dcp_s2r_sleep_tested(hw->s2r_sleep_tested_compat))\n" + "\t\treturn false;\n", + "", + ), # Register S2R PM notifier before fixed_phy/Type-C routes are probed. "early-pm-register": ( "\tret = dcp_s2r_pm_register(dcp);\n\tif (ret)\n\t\treturn ret;\n\n\t/*\n\t * The manual T6030", @@ -81,9 +88,11 @@ def function(text, name): #include #include -#define DCP_FIRMWARE_V_27_0 27 -#define DCP_FIRMWARE_H17P 17 -#define DCP_FIRMWARE_V_26_6 26 +enum dcp_firmware_version { + DCP_FIRMWARE_H17P = 17, + DCP_FIRMWARE_V_26_6 = 26, + DCP_FIRMWARE_V_27_0 = 27, +}; #define DRM_MODE_CONNECTOR_Unknown 0 #define DRM_MODE_CONNECTOR_DisplayPort 10 @@ -105,16 +114,17 @@ def function(text, name): struct dcp_s2r_layout { int dummy; }; -struct apple_dcp_hw { +struct apple_dcp_hw_data { bool s2r; bool s2r_ext; bool s2r_no_secure_port; - bool s2r_untested; + bool s2r_v27_only; + const char *s2r_sleep_tested_compat; const struct dcp_s2r_layout *s2r_layout; }; struct apple_dcp { struct device *dev; - struct apple_dcp_hw hw; + struct apple_dcp_hw_data hw; int fw_compat; bool dcpext; unsigned int nr_typec_routes; @@ -124,7 +134,16 @@ def function(text, name): const struct dcp_v27_method *v27_methods; }; -static bool s2r_untested = true; +#define KUNIT_STATIC_STUB_REDIRECT(...) do { } while (0) + +/* Whether the board's sleep controller carries apple,sleep-tested. */ +static bool board_sleep_tested; + +static bool apple_sleep_tested(const char *compat) +{ + assert(!strcmp(compat, "apple,t6020-sleep")); + return board_sleep_tested; +} static bool of_property_present(const struct device_node *np, const char *name) { @@ -271,6 +290,23 @@ def function(text, name): assert(dcp_s2r_ext_capable(&dcp)); } + /* 10. A static layout tied to apple,sleep-tested (T6020 dcpext) follows the board. */ + { + struct apple_dcp dcp = { + .dev = &dev_pwr, + .hw = { .s2r_ext = true, .s2r_no_secure_port = true, .s2r_layout = &layout, + .s2r_v27_only = true, + .s2r_sleep_tested_compat = "apple,t6020-sleep" }, + .fw_compat = DCP_FIRMWARE_V_27_0, + .dcpext = true, + .v27_methods = methods_ok, + }; + board_sleep_tested = false; + assert(!dcp_s2r_ext_capable(&dcp)); + board_sleep_tested = true; + assert(dcp_s2r_ext_capable(&dcp)); + } + return 0; } """ @@ -305,6 +341,8 @@ def main(): code = "\n".join([ HARNESS, function(header, "dcp_has_external_output"), + function(source, "dcp_s2r_sleep_tested"), + function(source, "dcp_s2r_static_layout_allowed"), function(source, "dcp_s2r_primary_external"), function(source, "dcp_s2r_capable"), function(source, "dcp_s2r_ext_capable"), diff --git a/tools/asahi/run-host-tests.py b/tools/asahi/run-host-tests.py index a805fbfd76ff0..5feed54289e0d 100644 --- a/tools/asahi/run-host-tests.py +++ b/tools/asahi/run-host-tests.py @@ -323,7 +323,7 @@ def mutations(flag, names, base, expect=KILL): 'dcp-s2r-primary-ext-tests.py': [([], PASS)] + mutations('--mutation', ('keep-internal', 'drop-ext-route', 'ignore-ext-output', 'ignore-hdmia', 'ignore-secure-port', - 'early-pm-register'), []), + 'early-pm-register', 'drop-sleep-tested'), []), # External s2r_ext quiesce before A500/idle and live-firmware preservation on idle refusal. 'dcp-s2r-ext-idle-tests.py': [([], PASS)] + mutations('--mutation', ('skip-quiesce', 'skip-post-a500-idle', 'skip-retry',