Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion tools/asahi/backlight-coldboot-tests.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -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; };
Expand All @@ -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++; }
Expand Down
Loading