From 71edc4f661559025d9d9892fa85b677aeae41764 Mon Sep 17 00:00:00 2001 From: Dj <43033058+DjDeveloperr@users.noreply.github.com> Date: Tue, 17 Nov 2026 14:15:53 -0500 Subject: [PATCH] selftests: apple: update coldboot fixture for native26 helpers Keep the fixture on its existing internal panel and H17P paths. Provide the new classification and workqueue interfaces used by extracted dcp_poweron. Reject any unexpected native26 flush. Signed-off-by: Diljit Singh --- tools/asahi/backlight-coldboot-tests.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) mode change 100644 => 100755 tools/asahi/backlight-coldboot-tests.py diff --git a/tools/asahi/backlight-coldboot-tests.py b/tools/asahi/backlight-coldboot-tests.py old mode 100644 new mode 100755 index e08f7f3ce9cd3..5b85dc13ccb92 --- a/tools/asahi/backlight-coldboot-tests.py +++ b/tools/asahi/backlight-coldboot-tests.py @@ -76,7 +76,7 @@ def function(source, name): unsigned crtc_unplugs,typec_unplugs,typec_generation,typec_reconnect_tries,external_generation,external_crtc_generation; int external_lock,hpd_mutex,relink_lock,relink,typec_iomfb_hpd_ready; struct delayed_work typec_reconnect_wq,placeholder_edid_wq,external_stop_retry_wq,bl_fallback_wq; - struct work_struct external_stop_work; + struct work_struct external_stop_work,ext26_blank_work; void *dev,*hdmi_hpd,*avep; }; struct platform_device { struct apple_dcp *data; }; @@ -95,6 +95,10 @@ def function(source, name): static bool iomfb_v14_7_panel_nits(struct apple_dcp *p) { return p->v14; } static bool dcp_has_panel(struct apple_dcp *p) { return p->panel; } static bool dcp_is_external_h17p(struct apple_dcp *p) { return p->external; } +/* These fixtures exercise the internal panel and the H17P external path. */ +static bool dcp_is_ext26(struct apple_dcp *p) { (void)p;return false; } +static bool dcp_is_retained_external(struct apple_dcp *p) { return dcp_is_external_h17p(p); } +static void flush_work(struct work_struct *p) { (void)p;assert(!"unexpected native26 work flush"); } static bool dcp_is_typec_output(struct apple_dcp *p) { return p->typec; } static bool dcp_h17g_panel(struct apple_dcp *p) { return p->hw.iomfb_method_profile==DCP_IOMFB_METHODS_H17G; } static void dcp_backlight_kick(struct apple_dcp *p) { assert(p->backlight.state.ready);kicks++; }